From 3dfa0c4b059575a13ff116cf379faeb1f1dc89f2 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 7 Aug 2024 14:56:04 +0200 Subject: [PATCH] Remove unused function after commit f323257cbc59c9ae Backported from 1.4.0 --- src/Fl_Gl_Choice.cxx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Fl_Gl_Choice.cxx b/src/Fl_Gl_Choice.cxx index fb19b0e68..f0dd5ce29 100644 --- a/src/Fl_Gl_Choice.cxx +++ b/src/Fl_Gl_Choice.cxx @@ -241,14 +241,6 @@ static void del_context(GLContext ctx) { #if defined(USE_X11) -static bool ctxErrorOccurred = false; -static int ctxErrorHandler( Display *dpy, XErrorEvent *ev ) -{ - ctxErrorOccurred = true; - return 0; -} - - GLContext fl_create_gl_context(Fl_Window *window, const Fl_Gl_Choice* g) { GLContext shared_ctx = 0; if (context_list && nContext) shared_ctx = context_list[0];