aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/x11/gl-impl.c
blob: 19759f2a3525175604ed00a8bd47a45eed97a41a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <X11/Xlib.h>
#include <X11/Xutil.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>

// Define GLX_GLXEXT_PROTOTYPES so that the OpenGL GLX extension prototypes in
// "glxext.h" are parsed.
#define GLX_GLXEXT_PROTOTYPES

#include <GL/glxext.h>

// Generate unimplemented stubs for wgl extensions
#define WGL_WGLEXT_PROTOTYPES
#define SKIP_WGL_HANDLE_DEFINITIONS
#include <windows.h>
#include <GL/wglext.h>