Henri Verbeet : wined3d: Failing HeapAlloc() should be an ERR.

Alexandre Julliard julliard at winehq.org
Fri Jan 9 09:52:15 CST 2009


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Jan  9 10:23:42 2009 +0100

wined3d: Failing HeapAlloc() should be an ERR.

---

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

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 688b2f2..a43a9c1 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -55,7 +55,7 @@ const WINED3DLIGHT WINED3D_default_light = {
 static void IWineD3DDeviceImpl_AddResource(IWineD3DDevice *iface, IWineD3DResource *resource);
 
 /* helper macros */
-#define D3DMEMCHECK(object, ppResult) if(NULL == object) { *ppResult = NULL; WARN("Out of memory\n"); return WINED3DERR_OUTOFVIDEOMEMORY;}
+#define D3DMEMCHECK(object, ppResult) if(NULL == object) { *ppResult = NULL; ERR("Out of memory\n"); return WINED3DERR_OUTOFVIDEOMEMORY;}
 
 #define D3DCREATEOBJECTINSTANCE(object, type) { \
     object=HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IWineD3D##type##Impl)); \




More information about the wine-cvs mailing list