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

// 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>