-
Stefan Dösinger authored
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.
430239b4