wined3d: Use draw_binding in surface_unmap().
This commit is contained in:
parent
1ae498dc59
commit
683b52ed92
|
@ -984,7 +984,7 @@ static void surface_unmap(struct wined3d_surface *surface)
|
||||||
surface->flags |= SFLAG_INSYSMEM;
|
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
|
/* Partial rectangle tracking is not commonly implemented, it is only
|
||||||
* done for render targets. INSYSMEM was set before to tell
|
* done for render targets. INSYSMEM was set before to tell
|
||||||
|
|
Loading…
Reference in New Issue