45 #ifndef Fl_Gl_Choice_H
46 #define Fl_Gl_Choice_H
52 # define GLContext HGLRC
53 #elif defined(__APPLE_QUARTZ__)
55 # include <OpenGL/gl.h>
57 # define GLContext AGLContext
60 # define GLContext GLXContext
71 PIXELFORMATDESCRIPTOR pfd;
72 #elif defined(__APPLE_QUARTZ__)
74 AGLPixelFormat pixelformat;
91 #elif defined(__APPLE_QUARTZ__)
98 GLContext fl_create_gl_context(XVisualInfo* vis);
102 return fl_create_gl_context(g->vis);
107 void fl_set_gl_context(
Fl_Window*, GLContext);
108 void fl_no_gl_context();
109 void fl_delete_gl_context(GLContext);
This widget produces an actual window.
Definition: Fl_Window.H:57
Definition: Fl_Gl_Choice.H:64
This file defines wrapper functions for OpenGL in FLTK.