<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&nbsp; never found a way to avoid them.<br>The offset can be computed thanks to the function&nbsp; 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 &lt;hverbeet@gmail.com&gt;<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&nbsp;:</span></b> Re: d3dx9: Implement
 D3DXDeclaratorFromFVF.<br></font><br>On 20 August 2010 21:16, Misha Koshelev &lt;<a ymailto="mailto:misha680@gmail.com" href="mailto:misha680@gmail.com">misha680@gmail.com</a>&gt; wrote:<br>&gt; Thank you for your helpful feedback on my tests.<br>&gt;<br>&gt; This is based mostly on dlls/d3d9/vertexdeclaration.c with some<br>&gt; changes specific to D3DXDeclaratorFromFVF.<br>&gt;<br>&gt; Again, if there are any suggested changes please let me know.<br>&gt;<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>