Re: [4/5] d3dx9: Implement D3DXMESHOPT_ATTRSORT vertex reordering.

2011-05-08 Thread Matteo Bruni
2011/5/8 Dylan Smith : > On Sun, May 8, 2011 at 3:18 PM, Matteo Bruni > wrote: >> >> 2011/5/6 Dylan Smith : >> > +struct vertex_attrib_duplication { >> > +    DWORD attrib; >> > +    DWORD vertex_index; >> > +    struct vertex_attrib_duplication *ptr; >> > +}; >> ... >> > +            struct verte

Re: [4/5] d3dx9: Implement D3DXMESHOPT_ATTRSORT vertex reordering.

2011-05-08 Thread Dylan Smith
On Sun, May 8, 2011 at 3:18 PM, Matteo Bruni wrote: > 2011/5/6 Dylan Smith : > > +struct vertex_attrib_duplication { > > +DWORD attrib; > > +DWORD vertex_index; > > +struct vertex_attrib_duplication *ptr; > > +}; > ... > > +struct vertex_attrib_duplication **heads = NULL; /

Re: [4/5] d3dx9: Implement D3DXMESHOPT_ATTRSORT vertex reordering.

2011-05-08 Thread Matteo Bruni
2011/5/6 Dylan Smith : > +struct vertex_attrib_duplication { > +    DWORD attrib; > +    DWORD vertex_index; > +    struct vertex_attrib_duplication *ptr; > +}; ... > +            struct vertex_attrib_duplication **heads = NULL; /* head of list > for each vertex */ You probably want to use Wine l