mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-03-06 17:41:01 +00:00
Fix fullscreen switch through alt-enter.
This commit is contained in:
parent
6d39da37ca
commit
3f8be88e84
1 changed files with 2 additions and 2 deletions
|
@ -1041,12 +1041,12 @@ Key_Event(int key, qboolean down, qboolean special)
|
||||||
|
|
||||||
if (!fullscreen->value)
|
if (!fullscreen->value)
|
||||||
{
|
{
|
||||||
fullscreen->value = 1;
|
Cvar_Set("vid_fullscreen", "1");
|
||||||
fullscreen->modified = true;
|
fullscreen->modified = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fullscreen->value = 0;
|
Cvar_Set("vid_fullscreen", "0");
|
||||||
fullscreen->modified = true;
|
fullscreen->modified = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue