wined3d: Use draw_binding in surface_unload().
This commit is contained in:
parent
1d43f07239
commit
6cdfb95c8e
|
@ -1866,7 +1866,7 @@ static void surface_unload(struct wined3d_resource *resource)
|
|||
{
|
||||
/* Load the surface into system memory */
|
||||
surface_load_location(surface, SFLAG_INSYSMEM, NULL);
|
||||
surface_modify_location(surface, SFLAG_INDRAWABLE, FALSE);
|
||||
surface_modify_location(surface, surface->draw_binding, FALSE);
|
||||
}
|
||||
surface_modify_location(surface, SFLAG_INTEXTURE, FALSE);
|
||||
surface_modify_location(surface, SFLAG_INSRGBTEX, FALSE);
|
||||
|
|
Loading…
Reference in New Issue