diff options
Diffstat (limited to 'src/Fl_Gl_Choice.H')
| -rw-r--r-- | src/Fl_Gl_Choice.H | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Fl_Gl_Choice.H b/src/Fl_Gl_Choice.H index 2d5e2fcb9..69d388607 100644 --- a/src/Fl_Gl_Choice.H +++ b/src/Fl_Gl_Choice.H @@ -45,6 +45,12 @@ #ifndef Fl_Gl_Choice_H #define Fl_Gl_Choice_H +#if defined(WIN32) || defined(__APPLE__) +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: add code to list and select OpenGL drawing contexts" +#else +#endif + // Warning: whatever GLContext is defined to must take exactly the same // space in a structure as a void*!!! #ifdef WIN32 @@ -77,6 +83,8 @@ public: PIXELFORMATDESCRIPTOR pfd; // some wgl calls need this thing #elif defined(__APPLE_QUARTZ__) NSOpenGLPixelFormat* pixelformat; +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: define OpenGL pixel format containers" #else XVisualInfo *vis; // the visual to use Colormap colormap; // a colormap for that visual @@ -97,6 +105,10 @@ GLContext fl_create_gl_context(Fl_Window*, const Fl_Gl_Choice*, int layer=0); GLContext fl_create_gl_context(Fl_Window*, const Fl_Gl_Choice*, int layer=0); +#elif defined(FL_PORTING) + +# pragma message "FL_PORTING: define fl_create_gl_context function" + #else GLContext fl_create_gl_context(XVisualInfo* vis); |
