mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
Reenabled the XCloseDisplay call as things fuck up without it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1665 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
2e22b57fc2
commit
4120541f06
1 changed files with 3 additions and 3 deletions
|
@ -521,7 +521,7 @@ static void GetEvent(void)
|
|||
|
||||
void GLVID_Shutdown(void)
|
||||
{
|
||||
printf("GLVID_Shutdown");
|
||||
printf("GLVID_Shutdown\n");
|
||||
if (!ctx)
|
||||
return;
|
||||
|
||||
|
@ -546,8 +546,8 @@ printf("GLVID_Shutdown");
|
|||
vidmode_active = false;
|
||||
}
|
||||
#endif
|
||||
// XCloseDisplay(vid_dpy);
|
||||
// vid_dpy = NULL;
|
||||
XCloseDisplay(vid_dpy);
|
||||
vid_dpy = NULL;
|
||||
vid_window = (Window)NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue