Henri Verbeet wrote:
On 24 August 2010 05:05, Misha Koshelev misha680@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-D3DXDec... 0004-d3dx9-Implement-D3DXDeclaratorFromFVF.txt
Thank you Misha