Commit 19da825b authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Use draw_binding for the surface_modify_location() call in surface_unmap() as well.

parent 5bd003ed
......@@ -1000,7 +1000,7 @@ static void surface_unmap(struct wined3d_surface *surface)
* date because only a subrectangle was read in Map(). */
if (!fullsurface)
{
surface_modify_location(surface, SFLAG_INDRAWABLE, TRUE);
surface_modify_location(surface, surface->draw_binding, TRUE);
surface_evict_sysmem(surface);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment