mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-14 16:40:47 +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;
|
return;
|
||||||
|
|
||||||
Con_Printf("VID_Shutdown\n");
|
Con_Printf("VID_Shutdown\n");
|
||||||
XDestroyWindow(x_disp, x_win);
|
|
||||||
glXDestroyContext(x_disp, ctx);
|
glXDestroyContext(x_disp, ctx);
|
||||||
|
XDestroyWindow(x_disp, x_win);
|
||||||
|
|
||||||
x11_restore_vidmode();
|
x11_restore_vidmode();
|
||||||
#ifdef HAVE_DLOPEN
|
#ifdef HAVE_DLOPEN
|
||||||
|
|
Loading…
Reference in a new issue