Commit c770d3f5 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

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

parent 1b561e81
......@@ -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)
......
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