ddraw: Some d3d-only code fixes.
commit430239b470cea02cb79e6b6b83784f8e18634909
authorStefan Dösinger <stefandoesinger@gmx.at>
Mon, 23 Jul 2007 07:57:26 +0000 (23 09:57 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 24 Jul 2007 11:40:29 +0000 (24 13:40 +0200)
tree38bc61e7c5f5551d28dee73565c2976d6ecdbd83
parent0c0285118e7d9f43c9566cd2078bc513fd31ab55
ddraw: Some d3d-only code fixes.

Vertex declarations are a d3d feature, thus they should be destroyed
before d3d is shut down in wined3d. The surface type should be reset
afterwards to prevent avoid gl surface afterwards and before a new
render target is created.
dlls/ddraw/ddraw.c
dlls/ddraw/main.c
dlls/ddraw/surface.c