mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
Main_DirectDraw_EnumDisplayModes
Forget Zero out two struct before they are being use svn path=/trunk/; revision=30717
This commit is contained in:
parent
f05d14ae61
commit
19ae483e87
|
@ -24,6 +24,8 @@ Main_DirectDraw_EnumDisplayModes(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags,
|
||||||
|
|
||||||
DX_WINDBG_trace();
|
DX_WINDBG_trace();
|
||||||
|
|
||||||
|
ZeroMemory(&DevMode, sizeof(DEVMODE));
|
||||||
|
|
||||||
_SEH_TRY
|
_SEH_TRY
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -45,6 +47,8 @@ Main_DirectDraw_EnumDisplayModes(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags,
|
||||||
{
|
{
|
||||||
DDSURFACEDESC2 SurfaceDesc;
|
DDSURFACEDESC2 SurfaceDesc;
|
||||||
|
|
||||||
|
ZeroMemory(&SurfaceDesc, sizeof(DDSURFACEDESC2));
|
||||||
|
|
||||||
iMode++;
|
iMode++;
|
||||||
|
|
||||||
SurfaceDesc.dwSize = sizeof (DDSURFACEDESC2);
|
SurfaceDesc.dwSize = sizeof (DDSURFACEDESC2);
|
||||||
|
|
Loading…
Reference in a new issue