Skip to content
Snippets Groups Projects
Commit 330612ea authored by Stephen Crowley's avatar Stephen Crowley Committed by Alexandre Julliard
Browse files

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

parent 77977234
No related branches found
No related tags found
No related merge requests found
......@@ -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? */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment