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__)
107GLContext fl_create_gl_context(XVisualInfo* vis);
111 return fl_create_gl_context(g->vis);
116void fl_set_gl_context(
Fl_Window*, GLContext);
117void fl_no_gl_context();
118void fl_delete_gl_context(GLContext);
Definition: Fl_Gl_Choice.H:73
This widget produces an actual window.
Definition: Fl_Window.H:58
This file defines wrapper functions for OpenGL in FLTK.