Commit 330612ea authored by Stephen Crowley's avatar Stephen Crowley Committed by Alexandre Julliard

Fixed a potential crash if a usable video mode is not detected.

parent 77977234
......@@ -1995,7 +1995,7 @@ static HRESULT WINAPI DGA_IDirectDraw_SetDisplayMode(
#ifdef HAVE_LIBXXF86VM
{
XF86VidModeModeInfo **all_modes, *vidmode;
XF86VidModeModeInfo **all_modes, *vidmode = NULL;
/* set fullscreen mode */
/* do we need to save the old video mode and restore it when we exit? */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment