mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
gl_vidsdl.c: fix a minor inconsistency in VID_Toggle
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@835 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
78900118f3
commit
e2ea2d2360
1 changed files with 1 additions and 1 deletions
|
@ -1036,7 +1036,7 @@ void VID_Toggle (void)
|
|||
vid_toggle_works = false;
|
||||
Con_DPrintf ("SDL_WM_ToggleFullScreen failed, attempting VID_Restart\n");
|
||||
vrestart:
|
||||
Cvar_SetQuick (&vid_fullscreen, vid_fullscreen.value ? "0" : "1");
|
||||
Cvar_SetQuick (&vid_fullscreen, draw_context-> flags & SDL_FULLSCREEN ? "0" : "1");
|
||||
Cbuf_AddText ("vid_restart\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue