From 49859d747ecaef77fd3d14c652ea66aa7aa90a92 Mon Sep 17 00:00:00 2001 From: dhewg Date: Thu, 8 Dec 2011 20:08:09 +0100 Subject: [PATCH] Comment XFlush() to prevent a crash on exit --- neo/sys/linux/glimp.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neo/sys/linux/glimp.cpp b/neo/sys/linux/glimp.cpp index bfafab01..286d843c 100644 --- a/neo/sys/linux/glimp.cpp +++ b/neo/sys/linux/glimp.cpp @@ -197,9 +197,8 @@ void GLimp_Shutdown() { XF86VidModeSwitchToMode( dpy, scrnum, vidmodes[0] ); } - XFlush( dpy ); - // FIXME: that's going to crash + //XFlush( dpy ); //XCloseDisplay( dpy ); vidmode_active = false;