diff options
| author | Manolo Gouy <Manolo> | 2016-05-13 06:45:40 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-05-13 06:45:40 +0000 |
| commit | 207d8fe09b896cbcdcb4ea46ae6f06ce62b9001e (patch) | |
| tree | 3aa642288ba8768fa7080112f9fbae629997d7e8 /src/gl_start.cxx | |
| parent | 01c5b06fa0a4c4bab0d9f0221439025e178bcbdf (diff) | |
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
Diffstat (limited to 'src/gl_start.cxx')
| -rw-r--r-- | src/gl_start.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <FL/Fl_Window.H> #include <FL/fl_draw.H> #include <FL/gl.h> -#include "Fl_Gl_Choice.H" +class Fl_Gl_Choice; #include <FL/Fl_Gl_Window.H> #include <FL/Fl_Gl_Window_Driver.H> @@ -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 <FL/x.H> +#include "Fl_Gl_Choice.H" void Fl_X11_Gl_Window_Driver::gl_visual(Fl_Gl_Choice *c) { Fl_Gl_Window_Driver::gl_visual(c); |
