summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-07-19 14:04:59 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-07-19 14:04:59 +0200
commitffe39737e53a092681bae16242f3ccb2f530845a (patch)
treedf13be83565303364aed8f1630e622408bf63d81 /src
parent56f0671b3201e501745c11556b9c96081194777d (diff)
Remove unused function after commit 325004f
Diffstat (limited to 'src')
-rw-r--r--src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx6
1 files changed, 0 insertions, 6 deletions
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) {