fix a crash in quake

svn path=/trunk/; revision=23745
This commit is contained in:
Magnus Olsen 2006-08-27 14:53:32 +00:00
parent 0d7f6179b7
commit a962c1d8c0

View file

@ -753,6 +753,8 @@ HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDIRECTDRAW7 iface, DWORD dwFla
LPDDSURFACEDESC2 pDDSD, LPVOID context, LPDDENUMMODESCALLBACK2 callback) LPDDSURFACEDESC2 pDDSD, LPVOID context, LPDDENUMMODESCALLBACK2 callback)
{ {
DX_STUB_DD_OK();
IDirectDrawImpl* This = (IDirectDrawImpl*)iface; IDirectDrawImpl* This = (IDirectDrawImpl*)iface;
DDSURFACEDESC2 desc_callback; DDSURFACEDESC2 desc_callback;
DEVMODE DevMode; DEVMODE DevMode;