DXGL r453 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r452‎ | r453 | r454 >
Date:14:09, 29 June 2014
Author:admin
Status:new
Tags:
Comment:
Fix Debug Trace build.
Modified paths:
  • /ddraw/glDirectDraw.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirectDraw.cpp
@@ -876,7 +876,7 @@
877877 }
878878 else
879879 {
880 - if (lpDDSurfaceDesc2->ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE) TRACE_RET(23, HRESULT, DDERR_INVALIDPARAMS);
 880+ if (lpDDSurfaceDesc2->ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE) TRACE_RET(HRESULT, 23, DDERR_INVALIDPARAMS);
881881 *lplpDDSurface = new glDirectDrawSurface7(this, lpDDSurfaceDesc2, &error, false, NULL);
882882 }
883883 TRACE_VAR("*lplpDDSurface",14,*lplpDDSurface);