don't try to turn off dga if dga isn't available :)

This commit is contained in:
Bill Currie 2001-01-15 19:11:28 +00:00
parent 7e437396f6
commit 496cf83475

View file

@ -478,6 +478,7 @@ IN_Shutdown (void)
XAutoRepeatOn (x_disp);
#ifdef HAVE_DGA
if (dga_avail)
XF86DGADirectVideo (x_disp, DefaultScreen (x_disp), 0);
#endif
}