mirror of
https://git.code.sf.net/p/quake/nuq
synced 2025-02-16 09:01:16 +00:00
gl context should be destoryed before X window
This commit is contained in:
parent
6b48129fa4
commit
f588ab2151
1 changed files with 1 additions and 1 deletions
|
@ -155,8 +155,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