Re: About: d3dx9: Store transform matrix per-sprite.

2010-10-20 Thread Austin English
On Wed, Oct 20, 2010 at 2:31 PM, Joris Huizer  wrote:
>
> --- On Tue, 10/19/10, Austin English  wrote:
>
>> While these emails are very helpful, can you please do a
>> reply to the
>> original thread? It makes it easier for those of us using
>> clients with
>> threaded mode to follow.
>>
>> Thanks!
>>
>> --
>> -Austin
>>
>
> I can understand that's easier, less messy - I didn't do so up until now as 
> it is quite a number of emails per day (especially if tracking both 
> wine-devel and wine-patch) -- and my contributions/'contributions' are rare;
>
> Is there a way to do this other than registering to get the emails daily sent 
> to me? I usually browse through the updates via the web (the mail archive and 
> the patch watcher at http://source.winehq.org/patches/), and as far as I know 
> there is no way of replying on either ?
>
> I think I will register to receive emails from the wine-devel and wine-patch 
> mailing lists unless there's an other way to reply to thread.

Registering is the only way I know of. You can setup a filter in your
mail client to ignore them / put them in their own folder so they
don't flood your inbox.

-- 
-Austin




Re: About: d3dx9: Store transform matrix per-sprite.

2010-10-20 Thread Joris Huizer

--- On Tue, 10/19/10, Austin English  wrote:

> While these emails are very helpful, can you please do a
> reply to the
> original thread? It makes it easier for those of us using
> clients with
> threaded mode to follow.
> 
> Thanks!
> 
> -- 
> -Austin
> 

I can understand that's easier, less messy - I didn't do so up until now as it 
is quite a number of emails per day (especially if tracking both wine-devel and 
wine-patch) -- and my contributions/'contributions' are rare;

Is there a way to do this other than registering to get the emails daily sent 
to me? I usually browse through the updates via the web (the mail archive and 
the patch watcher at http://source.winehq.org/patches/), and as far as I know 
there is no way of replying on either ?

I think I will register to receive emails from the wine-devel and wine-patch 
mailing lists unless there's an other way to reply to thread.

Best regards,
Joris


  




Re: About: d3dx9: Store transform matrix per-sprite.

2010-10-19 Thread Matteo Bruni
2010/10/19 Joris Huizer :
> Hello,
>
> In this patch ID3DXSpriteImpl_Flush is adapted; the new loop being like:
>
>    int i, count, start;
>    /*  ... */
>    for(start=0;startsprite_count;start+=count,count=0) {
>        i=start;
>        while(isprite_count &&
>              (count==0 || 
> This->sprites[i].texture==This->sprites[i-1].texture)) {
>         /* filling in array */
>      }
>      /* rest of the outer loop, using array and count */
>    }
>
> It seems count is used uninitialised here on the first iteration ?
>
> HTH,
> Joris
>

Argh! You're absolutely right. Apparently it managed to work fine for
me so I didn't notice that silly mistake...
Thank you, I'll send a fix immediately.




About: d3dx9: Store transform matrix per-sprite.

2010-10-19 Thread Joris Huizer
Hello,

In this patch ID3DXSpriteImpl_Flush is adapted; the new loop being like:

int i, count, start;
/*  ... */
for(start=0;startsprite_count;start+=count,count=0) {
i=start;
while(isprite_count &&
  (count==0 || 
This->sprites[i].texture==This->sprites[i-1].texture)) {
 /* filling in array */
  }
  /* rest of the outer loop, using array and count */
}

It seems count is used uninitialised here on the first iteration ?

HTH,
Joris