mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-03-21 00:11:24 +00:00
fix a nastyness in shutdown code
This commit is contained in:
parent
a5c3e6519c
commit
aa605d7d51
2 changed files with 2 additions and 0 deletions
|
@ -89,6 +89,7 @@ void IN_Shutdown(void)
|
|||
if (x_disp) {
|
||||
XAutoRepeatOn(x_disp);
|
||||
XCloseDisplay(x_disp);
|
||||
x_disp = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -749,6 +749,7 @@ VID_Shutdown(void)
|
|||
if (x_disp) {
|
||||
XAutoRepeatOn(x_disp);
|
||||
XCloseDisplay(x_disp);
|
||||
x_disp = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue