wined3d: Use draw_binding in surface_unmap().

This commit is contained in:
Henri Verbeet 2011-08-24 22:08:42 +02:00 committed by Alexandre Julliard
parent 1ae498dc59
commit 683b52ed92
1 changed files with 1 additions and 1 deletions

View File

@ -984,7 +984,7 @@ static void surface_unmap(struct wined3d_surface *surface)
surface->flags |= SFLAG_INSYSMEM;
}
surface_load_location(surface, SFLAG_INDRAWABLE, fullsurface ? NULL : &surface->dirtyRect);
surface_load_location(surface, surface->draw_binding, fullsurface ? NULL : &surface->dirtyRect);
/* Partial rectangle tracking is not commonly implemented, it is only
* done for render targets. INSYSMEM was set before to tell