mirror of
https://github.com/reactos/wine.git
synced 2025-01-23 20:34:39 +00:00
wined3d: Invalidate the srgb tex in surface::unload.
This commit is contained in:
parent
d2ca7cf428
commit
20401fa9af
@ -863,6 +863,7 @@ static void WINAPI IWineD3DSurfaceImpl_UnLoad(IWineD3DSurface *iface) {
|
||||
IWineD3DSurface_ModifyLocation(iface, SFLAG_INDRAWABLE, FALSE);
|
||||
}
|
||||
IWineD3DSurface_ModifyLocation(iface, SFLAG_INTEXTURE, FALSE);
|
||||
IWineD3DSurface_ModifyLocation(iface, SFLAG_INSRGBTEX, FALSE);
|
||||
This->Flags &= ~(SFLAG_ALLOCATED | SFLAG_SRGBALLOCATED);
|
||||
|
||||
/* Destroy PBOs, but load them into real sysmem before */
|
||||
|
Loading…
x
Reference in New Issue
Block a user