wined3d: Mark the map binding up to date in texture2d_sub_resource_add_dirty_region.
This commit is contained in:
parent
1b561e815e
commit
c770d3f573
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue