blob: 53221a21a9e025f02e7c1168a5d9cf2722fe4112 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#define GLAPI
// Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in
// "glext.h" are parsed.
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
// Define GLX_GLXEXT_PROTOTYPES so that the OpenGL GLX extension prototypes in
// "glxext.h" are parsed.
#define GLX_GLXEXT_PROTOTYPES
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <GL/glxext.h>
// Bring in the wgl extensions
#define WGL_WGLEXT_PROTOTYPES
#define SKIP_WGL_HANDLE_DEFINITIONS
#include <windows.h>
#include <GL/wglext.h>
// Bring in the Mac OS X cgl extensions
#include <GL/cglext.h>
|