• Stefan Dösinger's avatar
    wined3d: Do not change the texture unit when binding surfaces. · d49c9bbc
    Stefan Dösinger authored
    Changing the texture unit when binding a surface for loading can break
    the state manager in the way that it changes the currently active
    texture unit while it is setting up a texture that has to be loaded.
    Instead find out the current unit to dirtify the correct sampler.
    d49c9bbc
surface.c 172 KB