Fixes a bug that can cause GL programs to slow to a crawl after -glx exits on nvidia cards. Thanks to rpete for pointing out how to fix it.

This commit is contained in:
Brian Koropoff 2000-07-09 05:55:39 +00:00
parent 223d222b91
commit c9143989a5

View file

@ -159,7 +159,7 @@ VID_Shutdown(void)
return; return;
Con_Printf("VID_Shutdown\n"); Con_Printf("VID_Shutdown\n");
XDestroyWindow(x_disp, x_win);
glXDestroyContext(x_disp, ctx); glXDestroyContext(x_disp, ctx);
#ifdef HAS_VIDMODE #ifdef HAS_VIDMODE