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

Misha Koshelev misha680 at gmail.com
Tue Sep 7 11:07:41 CDT 2010


On Tue, 2010-09-07 at 15:56 +0200, Henri Verbeet wrote:
> 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?

Thank you. Will take a look later today.

Misha




More information about the wine-devel mailing list