summaryrefslogtreecommitdiff
path: root/src/Fl_Gl_Window.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-01-29 13:41:53 +0100
committerMatthias Melcher <github@matthiasm.com>2024-01-29 13:42:05 +0100
commitc40b1653532aa08412aa8232fb8a11289512283e (patch)
tree1124c44a105893d973cf3665b0f66d53d52ad645 /src/Fl_Gl_Window.cxx
parentd9612e3cc713247f8f1e8af10a39fa2c763b588d (diff)
Fix OpenGL context caching on macOS (#737)
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
-rw-r--r--src/Fl_Gl_Window.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index 4912765c7..3e87a880a 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -536,7 +536,6 @@ float Fl_Gl_Window::pixels_per_unit() {
*/
int Fl_Gl_Window_Driver::copy = COPY;
-GLContext Fl_Gl_Window_Driver::cached_context = NULL;
Fl_Window* Fl_Gl_Window_Driver::cached_window = NULL;
float Fl_Gl_Window_Driver::gl_scale = 1; // scaling factor between FLTK and GL drawing units: GL = FLTK * gl_scale