From a962c1d8c0baa54e86f1575ee0ede567db5170e4 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sun, 27 Aug 2006 14:53:32 +0000 Subject: [PATCH] fix a crash in quake svn path=/trunk/; revision=23745 --- reactos/dll/directx/ddraw/main/ddraw_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/dll/directx/ddraw/main/ddraw_main.c b/reactos/dll/directx/ddraw/main/ddraw_main.c index 3ef06951e7f..e8c569ef568 100644 --- a/reactos/dll/directx/ddraw/main/ddraw_main.c +++ b/reactos/dll/directx/ddraw/main/ddraw_main.c @@ -753,6 +753,8 @@ HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDIRECTDRAW7 iface, DWORD dwFla LPDDSURFACEDESC2 pDDSD, LPVOID context, LPDDENUMMODESCALLBACK2 callback) { + DX_STUB_DD_OK(); + IDirectDrawImpl* This = (IDirectDrawImpl*)iface; DDSURFACEDESC2 desc_callback; DEVMODE DevMode;