wine/dlls/wined3d swapchain.c
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Nov 8 04:55:49 CST 2005
ChangeSet ID: 21150
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard at winehq.org 2005/11/08 04:55:49
Modified files:
dlls/wined3d : swapchain.c
Log message:
Oliver Stieber <oliver_stieber at yahoo.co.uk>
Fixed an error in Swapchain_GetFrontBufferData.
Patch: http://cvs.winehq.org/patch.py?id=21150
Old revision New revision Changes Path
1.9 1.10 +1 -0 wine/dlls/wined3d/swapchain.c
Index: wine/dlls/wined3d/swapchain.c
diff -u -p wine/dlls/wined3d/swapchain.c:1.9 wine/dlls/wined3d/swapchain.c:1.10
--- wine/dlls/wined3d/swapchain.c:1.9 8 Nov 2005 10:55:49 -0000
+++ wine/dlls/wined3d/swapchain.c 8 Nov 2005 10:55:49 -0000
@@ -332,6 +332,7 @@ HRESULT WINAPI IWineD3DSwapChainImpl_Get
TRACE("(%p) : iface(%p) pDestSurface(%p) \n", This, iface, pDestSurface);
ENTER_GL();
+ memset(&desc, 0, sizeof(desc));
desc.Width = &width;
desc.Height = &height;
desc.Format = &d3dformat;
More information about the wine-cvs
mailing list