40 #ifndef Fl_Gl_Choice_H 41 #define Fl_Gl_Choice_H 43 #ifdef FL_CFG_GFX_QUARTZ 44 # include <OpenGL/gl.h> 45 # define FL_GL_CHOICE_PLATFORM_SPECIFIC_MEMBERS void* pixelformat; 46 #endif // FL_CFG_GFX_QUARTZ 49 #ifdef FL_CFG_GFX_XLIB 51 # if ! defined(GLX_VERSION_1_3) 52 # typedef void *GLXFBConfig; 54 # define FL_GL_CHOICE_PLATFORM_SPECIFIC_MEMBERS \ 58 #endif // FL_CFG_GFX_XLIB*/ 63 # define FL_GL_CHOICE_PLATFORM_SPECIFIC_MEMBERS \ 65 PIXELFORMATDESCRIPTOR pfd; // some wgl calls need this thing 66 #endif // FL_CFG_GFX_GDI 71 friend class Fl_Gl_Window_Driver;
77 FL_GL_CHOICE_PLATFORM_SPECIFIC_MEMBERS
80 #undef FL_GL_CHOICE_PLATFORM_SPECIFIC_MEMBERS 82 #endif // Fl_Gl_Choice_H Definition: Fl_Gl_Choice.H:70
This file defines wrapper functions for OpenGL in FLTK.