mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-11-10 07:12:01 +00:00
lucianomol's F11 crash fix.
when using glx driver, the game crashes with an error of "unresolved symbol Cvar_SetValue" when F11 ... hit.
This commit is contained in:
parent
b12d506ce1
commit
5270c22b4d
1 changed files with 1 additions and 7 deletions
|
@ -725,13 +725,7 @@ static int XLateKey(XKeyEvent *ev){
|
|||
break;
|
||||
|
||||
case XK_F11:
|
||||
if( ev->type == KeyPress){
|
||||
if( _windowed_mouse->value){
|
||||
Cvar_SetValue( "_windowed_mouse", 0);
|
||||
} else {
|
||||
Cvar_SetValue( "_windowed_mouse", 1);
|
||||
}
|
||||
}
|
||||
key = K_F11;
|
||||
break;
|
||||
|
||||
case XK_F12:
|
||||
|
|
Loading…
Reference in a new issue