From 207d8fe09b896cbcdcb4ea46ae6f06ce62b9001e Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 13 May 2016 06:45:40 +0000 Subject: Add GLContext to the set of platform-dependent types defined in FL/platform_types.h If a platform does not support OpenGL, it can just typedef GLContext as void* git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11733 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/gl_start.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gl_start.cxx') diff --git a/src/gl_start.cxx b/src/gl_start.cxx index 2cf271111..2e4ea3219 100644 --- a/src/gl_start.cxx +++ b/src/gl_start.cxx @@ -35,7 +35,7 @@ #include #include #include -#include "Fl_Gl_Choice.H" +class Fl_Gl_Choice; #include #include @@ -86,7 +86,6 @@ void Fl_Gl_Window_Driver::gl_visual(Fl_Gl_Choice *c) { } #ifdef FL_CFG_GFX_QUARTZ -#include "drivers/Cocoa/Fl_Cocoa_Screen_Driver.H" void Fl_Cocoa_Gl_Window_Driver::gl_start() { GLcontext_update(context); // supports window resizing @@ -97,6 +96,7 @@ void Fl_Cocoa_Gl_Window_Driver::gl_start() { #ifdef FL_CFG_GFX_XLIB #include +#include "Fl_Gl_Choice.H" void Fl_X11_Gl_Window_Driver::gl_visual(Fl_Gl_Choice *c) { Fl_Gl_Window_Driver::gl_visual(c); -- cgit v1.2.3