wined3d: Mark the map binding up to date in texture2d_sub_resource_add_dirty_region.

This commit is contained in:
Stefan Dösinger 2014-01-10 12:40:44 +01:00 committed by Alexandre Julliard
parent 1b561e815e
commit c770d3f573
1 changed files with 2 additions and 2 deletions

View File

@ -735,8 +735,8 @@ static void texture2d_sub_resource_add_dirty_region(struct wined3d_resource *sub
{
struct wined3d_surface *surface = surface_from_resource(sub_resource);
surface_load_location(surface, SFLAG_INSYSMEM);
surface_invalidate_location(surface, ~SFLAG_INSYSMEM);
surface_load_location(surface, surface->map_binding);
surface_invalidate_location(surface, ~surface->map_binding);
}
static void texture2d_sub_resource_cleanup(struct wined3d_resource *sub_resource)