• Stefan Dösinger's avatar
    ddraw: Some d3d-only code fixes. · 430239b4
    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
surface.c 86.7 KB