Author: greatlrd
Date: Tue Nov 28 23:52:22 2006
New Revision: 24945
URL:
http://svn.reactos.org/svn/reactos?rev=24945&view=rev
Log:
fixing a bug in Create_DirectDraw, did call on Main_DirectDraw_Initialize, but that
function have been rewriten, and did not working as the old one.
Modified:
trunk/reactos/dll/directx/ddraw/startup.c
Modified: trunk/reactos/dll/directx/ddraw/startup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/startup.…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/startup.c (original)
+++ trunk/reactos/dll/directx/ddraw/startup.c Tue Nov 28 23:52:22 2006
@@ -531,7 +531,7 @@
if (StartDirectDraw((LPDIRECTDRAW*)This, pGUID) == DD_OK);
{
- return ((LPDIRECTDRAW7)This)->lpVtbl->Initialize ((LPDIRECTDRAW7)This, pGUID);
+ return DD_OK;
}
return DDERR_INVALIDPARAMS;