--- trunk/reactos/lib/ddraw/main/surface.c 2005-08-08 14:20:05 UTC (rev 17201)
+++ trunk/reactos/lib/ddraw/main/surface.c 2005-08-08 14:54:24 UTC (rev 17202)
@@ -63,14 +63,14 @@
CreateData.dwSCnt = 1;
CreateData.lplpSList = &pLocal;
- if(!This->owner->DriverCallbacks.DdMain.CreateSurface (&CreateData) != DDHAL_DRIVER_HANDLED)
+ if(This->owner->DriverCallbacks.DdMain.CreateSurface (&CreateData) != DDHAL_DRIVER_HANDLED)
return DDERR_INVALIDPARAMS;
- OutputDebugString(L"This does not get hit.");
-
if(CreateData.ddRVal != DD_OK)
return CreateData.ddRVal;
+ OutputDebugString(L"This does not get hit.");
+
return DD_OK;
}