wined3d: Use draw_binding for the surface_modify_location() call in surface_unmap() as well.
This commit is contained in:
parent
5bd003edaa
commit
19da825b12
|
@ -1000,7 +1000,7 @@ static void surface_unmap(struct wined3d_surface *surface)
|
||||||
* date because only a subrectangle was read in Map(). */
|
* date because only a subrectangle was read in Map(). */
|
||||||
if (!fullsurface)
|
if (!fullsurface)
|
||||||
{
|
{
|
||||||
surface_modify_location(surface, SFLAG_INDRAWABLE, TRUE);
|
surface_modify_location(surface, surface->draw_binding, TRUE);
|
||||||
surface_evict_sysmem(surface);
|
surface_evict_sysmem(surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue