d3dx9: Implement D3DXDeclaratorFromFVF. (try 2)

misha680 misha680 at gmail.com
Tue Aug 24 21:04:55 CDT 2010



Henri Verbeet wrote:
> 
> On 24 August 2010 05:05, Misha Koshelev <misha680 at gmail.com> wrote:
>> +        elements[idx].Stream = 0xFF;
>> +        elements[idx].Offset = D3DXGetDeclVertexSize(elements, 0);
>> +        elements[idx].Stream = 0;
> That's ugly.
> 
>> +    memcpy(Declaration, elements, size * sizeof(D3DVERTEXELEMENT9));
> That's unnecessary.
> 
> 
> 
> 

Thanks, I noticed your patches here:
http://source.winehq.org/patches/data/65330
http://source.winehq.org/patches/data/65331
http://source.winehq.org/patches/data/65331

What do you think about this one on top of those? I will wait to send to
wine-patches until your patches have been committed.
http://wine.1045685.n5.nabble.com/file/n2652101/0004-d3dx9-Implement-D3DXDeclaratorFromFVF.txt
0004-d3dx9-Implement-D3DXDeclaratorFromFVF.txt 

Thank you
Misha
-- 
View this message in context: http://wine.1045685.n5.nabble.com/Re-d3dx9-Implement-D3DXDeclaratorFromFVF-try-2-tp2650969p2652101.html
Sent from the Wine - Devel mailing list archive at Nabble.com.



More information about the wine-devel mailing list