From aae91f0242cfee059dbf3c43bc93d5bbccaed227 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sun, 3 Dec 2006 00:17:56 +0000 Subject: [PATCH] fixed a werid crash do not initate the member dwObsolete1 in LPDDRAWI_DIRECTDRAW_LCL svn path=/trunk/; revision=25022 --- reactos/dll/directx/ddraw/startup.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reactos/dll/directx/ddraw/startup.c b/reactos/dll/directx/ddraw/startup.c index 79653bcd41f..fc325c22aaf 100644 --- a/reactos/dll/directx/ddraw/startup.c +++ b/reactos/dll/directx/ddraw/startup.c @@ -960,7 +960,12 @@ Create_DirectDraw (LPGUID pGUID, 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;