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:
Mark Olsen 2005-12-05 21:22:36 +00:00
parent 2e22b57fc2
commit 4120541f06
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}