remove unnessecary test

This commit is contained in:
Bill Currie 2000-04-15 04:08:20 +00:00
parent 706004407f
commit ed5454ef6d

View file

@ -155,11 +155,7 @@ VID_Shutdown(void)
{ {
Con_Printf("VID_Shutdown\n"); Con_Printf("VID_Shutdown\n");
if(x_disp && ctx) glXDestroyContext(x_disp, ctx);
{
glXDestroyContext(x_disp, ctx);
ctx = NULL;
}
#ifdef HAS_DGA #ifdef HAS_DGA
if (hasvidmode) { if (hasvidmode) {