summaryrefslogtreecommitdiff
path: root/src/gl_start.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-10-31 12:45:51 +0000
committerManolo Gouy <Manolo>2018-10-31 12:45:51 +0000
commit6c8115ee9b30a89724df122c0af20c24ac6cfe52 (patch)
treee9142b3a91954f2ca61c3a49fb855af7f6198909 /src/gl_start.cxx
parent22bcc7b4cacee37be4e0559c84c848d1f6b1daf6 (diff)
Remove use of Fl_Gl_Window_Driver.H in file src/Fl_cocoa.mm
Thus, Fl_cocoa.mm is completely independent from code of libfltk_gl. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/gl_start.cxx')
-rw-r--r--src/gl_start.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gl_start.cxx b/src/gl_start.cxx
index 18ce99bc9..9a61b7d42 100644
--- a/src/gl_start.cxx
+++ b/src/gl_start.cxx
@@ -97,9 +97,10 @@ void Fl_Gl_Window_Driver::gl_visual(Fl_Gl_Choice *c) {
}
#ifdef FL_CFG_GFX_QUARTZ
+#include "drivers/Cocoa/Fl_Cocoa_Window_Driver.H"
void Fl_Cocoa_Gl_Window_Driver::gl_start() {
- GLcontext_update(context); // supports window resizing
+ Fl_Cocoa_Window_Driver::GLcontext_update(context); // supports window resizing
}
#endif