Stefan Dösinger : wined3d: Invalidate the srgb tex in surface::unload.
Alexandre Julliard
julliard at winehq.org
Mon Jun 22 09:04:10 CDT 2009
Module: wine
Branch: master
Commit: 20401fa9af383d703c3eae200e222a02fe024493
URL: http://source.winehq.org/git/wine.git/?a=commit;h=20401fa9af383d703c3eae200e222a02fe024493
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Tue Jun 9 23:10:08 2009 -0700
wined3d: Invalidate the srgb tex in surface::unload.
---
dlls/wined3d/surface.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index c6eaa69..424d2e3 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -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 */
More information about the wine-cvs
mailing list