54 #ifndef Fl_Gl_Choice_H
55 #define Fl_Gl_Choice_H
61 # define GLContext HGLRC
62 #elif defined(__APPLE_QUARTZ__)
64 # include <OpenGL/gl.h>
66 # define GLContext AGLContext
69 # define GLContext GLXContext
80 PIXELFORMATDESCRIPTOR pfd;
81 #elif defined(__APPLE_QUARTZ__)
83 AGLPixelFormat pixelformat;
100 #elif defined(__APPLE_QUARTZ__)
107 GLContext fl_create_gl_context(XVisualInfo* vis);
111 return fl_create_gl_context(g->vis);
116 void fl_set_gl_context(
Fl_Window*, GLContext);
117 void fl_no_gl_context();
118 void fl_delete_gl_context(GLContext);