mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 04:10:19 +00:00
no crash in ddraw what I known about for moment
svn path=/trunk/; revision=27046
This commit is contained in:
parent
79583495ee
commit
01309cc881
|
@ -12,6 +12,7 @@
|
||||||
#include "ddrawgdi.h"
|
#include "ddrawgdi.h"
|
||||||
|
|
||||||
DDRAWI_DIRECTDRAW_GBL ddgbl;
|
DDRAWI_DIRECTDRAW_GBL ddgbl;
|
||||||
|
DDRAWI_DIRECTDRAW_INT primaryDirectDrawInt;
|
||||||
DDRAWI_DDRAWSURFACE_GBL ddSurfGbl;
|
DDRAWI_DDRAWSURFACE_GBL ddSurfGbl;
|
||||||
|
|
||||||
WCHAR classname[128];
|
WCHAR classname[128];
|
||||||
|
@ -45,7 +46,9 @@ Create_DirectDraw (LPGUID pGUID, LPDIRECTDRAW* pIface,
|
||||||
|
|
||||||
DX_STUB_str("here\n");
|
DX_STUB_str("here\n");
|
||||||
|
|
||||||
DxHeapMemAlloc(memThis, sizeof(DDRAWI_DIRECTDRAW_INT));
|
memThis = &primaryDirectDrawInt;
|
||||||
|
|
||||||
|
RtlZeroMemory(memThis, sizeof(DDRAWI_DIRECTDRAW_INT));
|
||||||
|
|
||||||
DX_STUB_str("here\n")
|
DX_STUB_str("here\n")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue