From 496cf834757fcb5277b62ec9c0ad4819856cc236 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 15 Jan 2001 19:11:28 +0000 Subject: [PATCH] don't try to turn off dga if dga isn't available :) --- source/in_x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/in_x11.c b/source/in_x11.c index 4857732..fec24da 100644 --- a/source/in_x11.c +++ b/source/in_x11.c @@ -478,6 +478,7 @@ IN_Shutdown (void) XAutoRepeatOn (x_disp); #ifdef HAVE_DGA + if (dga_avail) XF86DGADirectVideo (x_disp, DefaultScreen (x_disp), 0); #endif }