wined3d: Vertexdeclaration fix.
commitd4836e1ce1a8c831d76eef2ee8c712539983c763
authorRoderick Colenbrander <thunderbird2k@gmx.net>
Sun, 12 Mar 2006 15:27:31 +0000 (12 16:27 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 13 Mar 2006 13:19:10 +0000 (13 14:19 +0100)
tree5a840702fda5ae34a5f5b68265843b3b4566d021
parent93676b10c6dcffa7492416876f0bd705bebdfc31
wined3d: Vertexdeclaration fix.

In the old d3d8 code SetVertexShader stored the so called vertex
declaration in the stateblock. In case of WineD3D this isn't done
which breaks the drawPrimitive code. This patch stores the vertex
declaration again in the stateblock which fixes Age Of Mythology.
dlls/wined3d/device.c