From ffe39737e53a092681bae16242f3ccb2f530845a Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:04:59 +0200 Subject: Remove unused function after commit 325004f --- src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/drivers/X11') diff --git a/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx b/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx index 23495a41f..862172463 100644 --- a/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx +++ b/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx @@ -193,12 +193,6 @@ Fl_Gl_Choice *Fl_X11_Gl_Window_Driver::find(int m, const int *alistp) return g; } -static bool ctxErrorOccurred = false; -static int ctxErrorHandler( Display *, XErrorEvent * ) -{ - ctxErrorOccurred = true; - return 0; -} GLContext Fl_X11_Gl_Window_Driver::create_gl_context(Fl_Window* window, const Fl_Gl_Choice* g) { -- cgit v1.2.3