Author: greatlrd
Date: Sun Dec 16 00:34:17 2007
New Revision: 31260
URL:
http://svn.reactos.org/svn/reactos?rev=31260&view=rev
Log:
Fixed param checks in createsurface code. and one wrong if check
Modified:
trunk/reactos/dll/directx/ddraw/Surface/createsurface.c
Modified: trunk/reactos/dll/directx/ddraw/Surface/createsurface.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/Surface/…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/Surface/createsurface.c (original)
+++ trunk/reactos/dll/directx/ddraw/Surface/createsurface.c Sun Dec 16 00:34:17 2007
@@ -39,8 +39,7 @@
DWORD num_of_surf=1;
DWORD count;
- /* Fixme adding vaidlate of income param */
- if(pDDraw->lpLcl->dwLocalFlags == 0x20000)
+ if(pDDraw->lpLcl->dwLocalFlags != DDRAWILCL_SETCOOPCALLED)
{
return DDERR_NOCOOPERATIVELEVELSET;
}