<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">I already sent such a patch. Julliard did not like the gazillions of conditions if.... then.<br>I never found a way to avoid them.<br>The offset can be computed thanks to the function D3DXGetDeclVertexSize<br><br>A+<br><br>David<br><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> Henri Verbeet <hverbeet@gmail.com><br><b><span style="font-weight: bold;">� :</span></b> wine-devel@winehq.org<br><b><span style="font-weight: bold;">Envoy� le :</span></b> Lun 23 ao�t 2010, 12h 03min 16s<br><b><span style="font-weight: bold;">Objet :</span></b> Re: d3dx9: Implement
D3DXDeclaratorFromFVF.<br></font><br>On 20 August 2010 21:16, Misha Koshelev <<a ymailto="mailto:misha680@gmail.com" href="mailto:misha680@gmail.com">misha680@gmail.com</a>> wrote:<br>> Thank you for your helpful feedback on my tests.<br>><br>> This is based mostly on dlls/d3d9/vertexdeclaration.c with some<br>> changes specific to D3DXDeclaratorFromFVF.<br>><br>> Again, if there are any suggested changes please let me know.<br>><br>As you already mentioned, this is pretty much another copy/paste<br>implementation, including e.g. the useless macros and typedef.<br><br><br></div></div>
</div><br>
</body></html>