mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
destroy the gl context BEFORE destroying the window.
This commit is contained in:
parent
4c0d05a73b
commit
c2a1e1f229
1 changed files with 1 additions and 1 deletions
|
@ -154,8 +154,8 @@ VID_Shutdown(void)
|
|||
return;
|
||||
|
||||
Con_Printf("VID_Shutdown\n");
|
||||
XDestroyWindow(x_disp, x_win);
|
||||
glXDestroyContext(x_disp, ctx);
|
||||
XDestroyWindow(x_disp, x_win);
|
||||
|
||||
x11_restore_vidmode();
|
||||
#ifdef HAVE_DLOPEN
|
||||
|
|
Loading…
Reference in a new issue