Stefan Dösinger : wined3d: Mark textures dirty on UnLoad.

Alexandre Julliard julliard at winehq.org
Tue Feb 5 06:34:55 CST 2008


Module: wine
Branch: master
Commit: 093d7d00c5008c4b8be8f3357f3d3d988bd8a12b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=093d7d00c5008c4b8be8f3357f3d3d988bd8a12b

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Fri Jan 25 18:18:55 2008 +0100

wined3d: Mark textures dirty on UnLoad.

---

 dlls/wined3d/basetexture.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/basetexture.c b/dlls/wined3d/basetexture.c
index da574a1..8015f7d 100644
--- a/dlls/wined3d/basetexture.c
+++ b/dlls/wined3d/basetexture.c
@@ -122,6 +122,7 @@ void     WINAPI        IWineD3DBaseTextureImpl_UnLoad(IWineD3DBaseTexture *iface
         This->baseTexture.textureName = 0;
         LEAVE_GL();
     }
+    This->baseTexture.dirty = TRUE;
 }
 
 WINED3DRESOURCETYPE WINAPI IWineD3DBaseTextureImpl_GetType(IWineD3DBaseTexture *iface) {




More information about the wine-cvs mailing list