mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 08:13:01 +00:00
fixed a werid crash do not initate the member dwObsolete1 in LPDDRAWI_DIRECTDRAW_LCL
svn path=/trunk/; revision=25022
This commit is contained in:
parent
073d96842d
commit
aae91f0242
1 changed files with 6 additions and 1 deletions
|
@ -960,7 +960,12 @@ Create_DirectDraw (LPGUID pGUID,
|
||||||
This->lpLcl->dwIMEState = 0;
|
This->lpLcl->dwIMEState = 0;
|
||||||
This->lpLcl->dwLocalFlags = DDRAWILCL_DIRECTDRAW7;
|
This->lpLcl->dwLocalFlags = DDRAWILCL_DIRECTDRAW7;
|
||||||
This->lpLcl->dwLocalRefCnt = 0;
|
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->dwPreferredMode = 0;
|
||||||
This->lpLcl->dwProcessId = 0;
|
This->lpLcl->dwProcessId = 0;
|
||||||
This->lpLcl->dwUnused0 = 0;
|
This->lpLcl->dwUnused0 = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue