d3dx9: Implementation of D3DXGetDeclLength

Luis Busquets luis.busquets at ilidium.com
Wed Aug 6 05:51:12 CDT 2008


Certainly

+static const D3DVERTEXELEMENT9 lc={0xFF,0,D3DDECLTYPE_UNUSED,0,0,0};

is not used. I will take it out.

However, I do not understand why pdecl needs to be incremented. Actually, the tests respond correctly. Why do you think pdecl has to be incremented? We are actually returning i. pdecl is just an input.

Last, yeah I know. It is a pity. When I am on holiday is when I have more time...



H. Verbeet escribió:
> 2008/8/5 Luis Busquets <luis.busquets at ilidium.com>:
>   
>> +static const D3DVERTEXELEMENT9 lc={0xFF,0,D3DDECLTYPE_UNUSED,0,0,0};
>>     
> What do you use this for?
>
>   
>> +    while ((pdecl+i)->Stream!=0xFF)
>> +    {
>> +        i++;
>>     
> You might as well increment pdecl itself.
>
> Also keep in mind that Alexandre won't be back before the 18th, so no
> patches will be applied before that either.
>
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20080806/8218a3eb/attachment.htm 


More information about the wine-patches mailing list