Author: greatlrd
Date: Sun Dec 3 03:17:56 2006
New Revision: 25022
URL:
http://svn.reactos.org/svn/reactos?rev=25022&view=rev
Log:
fixed a werid crash do not initate the member dwObsolete1 in LPDDRAWI_DIRECTDRAW_LCL
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 Sun Dec 3 03:17:56 2006
@@ -960,7 +960,12 @@
This->lpLcl->dwIMEState = 0;
This->lpLcl->dwLocalFlags = DDRAWILCL_DIRECTDRAW7;
This->lpLcl->dwLocalRefCnt = 0;
- This->lpLcl->dwObsolete1 = 0;
+ /*
+ do not rest this flag to NULL it need be unistae for some reason other wise
+ somet thing will crash dwObsolete1 seam being use for something this was a
+ supriese for me
+ */
+ //This->lpLcl->dwObsolete1 = 0;
This->lpLcl->dwPreferredMode = 0;
This->lpLcl->dwProcessId = 0;
This->lpLcl->dwUnused0 = 0;