mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-10 14:20:38 +00:00
Minor cleanup to window closing on exit.
This commit is contained in:
parent
fe73db40a0
commit
2f094cb344
2 changed files with 1 additions and 2 deletions
|
@ -206,7 +206,7 @@ x11_close_display (void)
|
||||||
}
|
}
|
||||||
if (!--x_disp_ref_count) {
|
if (!--x_disp_ref_count) {
|
||||||
XCloseDisplay( x_disp );
|
XCloseDisplay( x_disp );
|
||||||
x_disp = NULL;
|
x_disp = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,6 @@ VID_Shutdown (void)
|
||||||
|
|
||||||
x11_restore_vidmode ();
|
x11_restore_vidmode ();
|
||||||
x11_close_display ();
|
x11_close_display ();
|
||||||
x_disp = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in a new issue