blob: 8ffb057f3967101f452e5fb9ec3105ba11b10632 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include <windows.h>
#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>
#include <GL/cglext.h>
// Define WGL_GLEXT_PROTOTYPES so that the OpenGL WGL extension prototypes in
// "wglext.h" are parsed.
#define WGL_WGLEXT_PROTOTYPES
#define SKIP_WGL_HANDLE_DEFINITIONS
#include <GL/wglext.h>
// Generate unimplemented stubs for glX extensions
#define GLX_GLXEXT_PROTOTYPES
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <GL/glxext.h>
|