Author: greatlrd
Date: Fri Jun 22 20:50:36 2007
New Revision: 27263
URL:
http://svn.reactos.org/svn/reactos?rev=27263&view=rev
Log:
fixing a member that are not being set
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 22 20:50:36 2007
@@ -185,6 +185,8 @@
* devicetypes = 3 : both hel are enable
* devicetypes = 4 :loading a guid drv from the register
*/
+
+ ddgbl.lpDriverHandle = &ddgbl;
if (reenable == FALSE)
{
@@ -558,7 +560,7 @@
This->lpLcl->lpGbl->dwNumFourCC = mHALInfo.ddCaps.dwNumFourCCCodes;
This->lpLcl->lpGbl->lpdwFourCC = mpFourCC;
- This->lpLcl->lpGbl->dwMonitorFrequency = mHALInfo.dwMonitorFrequency;
+ This->lpLcl->lpGbl->dwMonitorFrequency = mHALInfo.dwMonitorFrequency; //
0
This->lpLcl->lpGbl->dwModeIndex = mHALInfo.dwModeIndex;
This->lpLcl->lpGbl->dwNumModes = mHALInfo.dwNumModes;
This->lpLcl->lpGbl->lpModeInfo = mHALInfo.lpModeInfo;