diff --git a/common/gl_vidglx.c b/common/gl_vidglx.c index a3d40d7..a391b0d 100644 --- a/common/gl_vidglx.c +++ b/common/gl_vidglx.c @@ -155,11 +155,7 @@ VID_Shutdown(void) { Con_Printf("VID_Shutdown\n"); - if(x_disp && ctx) - { - glXDestroyContext(x_disp, ctx); - ctx = NULL; - } + glXDestroyContext(x_disp, ctx); #ifdef HAS_DGA if (hasvidmode) {