52# define GLContext HGLRC
53#elif defined(__APPLE_QUARTZ__)
54# include <OpenGL/gl.h>
56@class NSOpenGLPixelFormat;
57@class NSOpenGLContext;
59class NSOpenGLPixelFormat;
62typedef NSOpenGLContext* FLOpenGLContextPtr;
63# define GLContext FLOpenGLContextPtr
66# define GLContext GLXContext
67# if ! defined(GLX_VERSION_1_3)
68# typedef void *GLXFBConfig;
80 PIXELFORMATDESCRIPTOR pfd;
81#elif defined(__APPLE_QUARTZ__)
82 NSOpenGLPixelFormat* pixelformat;
100#elif defined(__APPLE_QUARTZ__)
106GLContext fl_create_gl_context(XVisualInfo* vis);
115void fl_set_gl_context(
Fl_Window*, GLContext);
116void fl_no_gl_context();
117void fl_delete_gl_context(GLContext);
Definition: Fl_Gl_Choice.H:73
This widget produces an actual window.
Definition: Fl_Window.H:57
This file defines wrapper functions for OpenGL in FLTK.