Must copy static const D3DVERTEXELEMENT9 into dynamically alllocated D3DVERTEXELEMENT9 * before pointer passed correctly in Wine?

Henri Verbeet hverbeet at gmail.com
Tue Sep 7 08:56:40 CDT 2010


On 7 September 2010 14:43, misha680 <misha680 at gmail.com> wrote:
> LPD3DVERTEXELEMENT9 is a D3DVERTEXELEMENT9 *,
> http://msdn.microsoft.com/en-us/library/bb172630%28VS.85%29.aspx
>
> so LPD3DVERTEXELEMENT9 * is a D3DVERTEXELEMENT9 **, and to get at the
Well yes, but why do you think that makes sense as an argument to
D3DXCreateMesh()? Did you check the prototype against the SDK?



More information about the wine-devel mailing list