[PATCH] modified: dlls/wined3d/device.c

Gregor Münch greg87 at online.de
Wed Apr 2 12:59:58 CDT 2008


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

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 1c1da5a..2fa042a 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -6966,6 +6966,7 @@ static void updateSurfaceDesc(IWineD3DSurfaceImpl *surface, WINED3DPRESENT_PARAM
     surface->resource.allocatedMemory = NULL;
     surface->resource.heapMemory = NULL;
     surface->resource.size = IWineD3DSurface_GetPitch((IWineD3DSurface *) surface) * surface->pow2Width;
+    IWineD3DSurface_ModifyLocation((IWineD3DSurface *) surface , SFLAG_INDRAWABLE, TRUE);
 }
 
 static HRESULT WINAPI reset_unload_resources(IWineD3DResource *resource, void *data) {
-- 
1.5.4.4


--------------000201080607000707070801--



More information about the wine-patches mailing list