mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
removed duplicated assignment to the local 'was_changed'
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@760 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
f2f1b2bdb6
commit
8684db400c
1 changed files with 2 additions and 2 deletions
|
@ -1336,7 +1336,7 @@ void VID_Toggle (void)
|
|||
goto vrestart;
|
||||
if (SDL_WM_ToggleFullScreen(draw_context) == 1)
|
||||
{
|
||||
qboolean was_changed = vid_changed;
|
||||
qboolean was_changed;
|
||||
|
||||
Sbar_Changed (); // Sbar seems to need refreshing
|
||||
windowed = !windowed;
|
||||
|
@ -1360,7 +1360,7 @@ void VID_Toggle (void)
|
|||
{
|
||||
vid_toggle_works = false;
|
||||
Con_DPrintf ("ToggleFullScreen failed, attempting VID_Restart\n");
|
||||
vrestart:
|
||||
vrestart:
|
||||
Cvar_SetQuick (&vid_fullscreen, vid_fullscreen.value ? "0" : "1");
|
||||
Cbuf_AddText ("vid_restart\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue