Author: greatlrd
Date: Fri Jun 8 23:18:45 2007
New Revision: 27077
URL:
http://svn.reactos.org/svn/reactos?rev=27077&view=rev
Log:
small code cleanup
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 Fri Jun 8 23:18:45 2007
@@ -124,6 +124,7 @@
return DDERR_GENERIC;
}
*/
+ This->lpLcl->hDD = ddgbl.hDD;
return DD_OK;
}
}
@@ -282,8 +283,7 @@
/* Fill some basic info for Surface */
This->lpLcl->lpGbl->dwFlags = dwFlags | DDRAWI_ATTACHEDTODESKTOP;
This->lpLcl->lpDDCB = This->lpLcl->lpGbl->lpDDCBtmp;
- This->lpLcl->hDD = This->lpLcl->lpGbl->hDD;
- ddgbl.hDD = This->lpLcl->lpGbl->hDD;
+ This->lpLcl->hDD = ddgbl.hDD;
DX_STUB_str("DD_OK\n");
return DD_OK;