[ros-diffs] [greatlrd] 30816: Updating d3d9 from winehq.org cvs/git date 27/11-2007
greatlrd at svn.reactos.org
greatlrd at svn.reactos.org
Tue Nov 27 12:24:22 CET 2007
Author: greatlrd
Date: Tue Nov 27 14:24:22 2007
New Revision: 30816
URL: http://svn.reactos.org/svn/reactos?rev=30816&view=rev
Log:
Updating d3d9 from winehq.org cvs/git date 27/11-2007
Modified:
trunk/reactos/dll/directx/wine/d3d9/device.c
Modified: trunk/reactos/dll/directx/wine/d3d9/device.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/d3d9/device.c?rev=30816&r1=30815&r2=30816&view=diff
==============================================================================
--- trunk/reactos/dll/directx/wine/d3d9/device.c (original)
+++ trunk/reactos/dll/directx/wine/d3d9/device.c Tue Nov 27 14:24:22 2007
@@ -603,6 +603,7 @@
}
} else {
WARN("Call to IWineD3DDevice_GetDepthStencilSurface failed\n");
+ *ppZStencilSurface = NULL;
}
LeaveCriticalSection(&d3d9_cs);
return hr;
@@ -1127,6 +1128,7 @@
if (hr != S_OK) return NULL;
hr = IDirect3DDevice9Impl_CreateVertexDeclaration((IDirect3DDevice9 *) This, elements, &pDecl);
+ HeapFree(GetProcessHeap(), 0, elements); /* CreateVertexDeclaration makes a copy */
if (hr != S_OK) return NULL;
if(This->declArraySize == This->numConvertedDecls) {
More information about the Ros-diffs
mailing list