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

This commit is contained in:
Henri Verbeet 2011-09-07 20:21:57 +02:00 committed by Alexandre Julliard
parent 5bd003edaa
commit 19da825b12
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}