summaryrefslogtreecommitdiff
path: root/src/drivers/Cocoa
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-29 09:39:21 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-29 09:39:21 +0200
commitda66e21e1d5826639da2b8d3bd5ccd27920a4aad (patch)
treee775f7d34d94970fedebf03da64b1d5e7cfcee38 /src/drivers/Cocoa
parent283184a09a360724a61b9e256c16f799a73cf405 (diff)
Support of FLTK widgets in OpenGL 3 windows - cont'd.
This commit allows to switch between FL_DOUBLE / FL_SINGLE modes in widget-containing GL3 windows. Demo program examples/OpenGL3test is modified to show FLTK widgets even if the platform does not support OpenGL 3.
Diffstat (limited to 'src/drivers/Cocoa')
-rw-r--r--src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.cxx b/src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.cxx
index bb4c53df1..3ee281b37 100644
--- a/src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.cxx
+++ b/src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.cxx
@@ -27,7 +27,6 @@
#include <FL/Fl_Image_Surface.H>
#include <dlfcn.h>
-extern void gl_texture_reset();
#ifdef __OBJC__
@class NSOpenGLPixelFormat;