aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-06 06:41:20 +0100
committerSven Gothel <[email protected]>2010-11-06 06:41:20 +0100
commitf2623b8d6c540d5f98e5d2da671f734d41e3e942 (patch)
tree36d5298c84522dd4f3d9ff226f23b6da0c00af2b /make/stub_includes/opengl
parent809d864d88744b80e8e9374d2bbc9d939dbb58f7 (diff)
Minor gluegen 'loader file' change
Diffstat (limited to 'make/stub_includes/opengl')
-rw-r--r--make/stub_includes/opengl/gl2.c1
-rw-r--r--make/stub_includes/opengl/gl2es12.c1
-rw-r--r--make/stub_includes/opengl/gl3.c1
-rw-r--r--make/stub_includes/opengl/gl3bc.c1
-rw-r--r--make/stub_includes/opengl/gl4.c1
-rw-r--r--make/stub_includes/opengl/gl4bc.c1
-rw-r--r--make/stub_includes/opengl/gles1.c4
-rw-r--r--make/stub_includes/opengl/gles2.c3
8 files changed, 10 insertions, 3 deletions
diff --git a/make/stub_includes/opengl/gl2.c b/make/stub_includes/opengl/gl2.c
index e91ee95f3..1d2a67ae7 100644
--- a/make/stub_includes/opengl/gl2.c
+++ b/make/stub_includes/opengl/gl2.c
@@ -5,3 +5,4 @@
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
+#include <GL/glext.h>
diff --git a/make/stub_includes/opengl/gl2es12.c b/make/stub_includes/opengl/gl2es12.c
index bc9d24ace..514393f0b 100644
--- a/make/stub_includes/opengl/gl2es12.c
+++ b/make/stub_includes/opengl/gl2es12.c
@@ -5,4 +5,5 @@
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
+#include <GL/glext.h>
diff --git a/make/stub_includes/opengl/gl3.c b/make/stub_includes/opengl/gl3.c
index a66cdb2dd..ff035e40b 100644
--- a/make/stub_includes/opengl/gl3.c
+++ b/make/stub_includes/opengl/gl3.c
@@ -9,4 +9,5 @@
#define GL_GL3EXT_PROTOTYPES
#include <GL3/gl3.h>
+#include <GL3/gl3ext.h>
diff --git a/make/stub_includes/opengl/gl3bc.c b/make/stub_includes/opengl/gl3bc.c
index 262e005f7..eed7c9c26 100644
--- a/make/stub_includes/opengl/gl3bc.c
+++ b/make/stub_includes/opengl/gl3bc.c
@@ -5,6 +5,7 @@
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
+#include <GL/glext.h>
// Define GL3_PROTOTYPES so that the OpenGL prototypes in
// "gl3.h" are parsed.
diff --git a/make/stub_includes/opengl/gl4.c b/make/stub_includes/opengl/gl4.c
index 5e9d87ccd..3a3adf0f4 100644
--- a/make/stub_includes/opengl/gl4.c
+++ b/make/stub_includes/opengl/gl4.c
@@ -9,3 +9,4 @@
#define GL_GL3EXT_PROTOTYPES
#include <GL3/gl3.h>
+#include <GL3/gl3ext.h>
diff --git a/make/stub_includes/opengl/gl4bc.c b/make/stub_includes/opengl/gl4bc.c
index 262e005f7..eed7c9c26 100644
--- a/make/stub_includes/opengl/gl4bc.c
+++ b/make/stub_includes/opengl/gl4bc.c
@@ -5,6 +5,7 @@
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
+#include <GL/glext.h>
// Define GL3_PROTOTYPES so that the OpenGL prototypes in
// "gl3.h" are parsed.
diff --git a/make/stub_includes/opengl/gles1.c b/make/stub_includes/opengl/gles1.c
index 63df1c967..ff6056ce8 100644
--- a/make/stub_includes/opengl/gles1.c
+++ b/make/stub_includes/opengl/gles1.c
@@ -1,5 +1,5 @@
-#define GLAPI
-#define GL_APICALL
+#define GL_API
+#define GL_APIENTRY
// Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in
// "glext.h" are parsed.
diff --git a/make/stub_includes/opengl/gles2.c b/make/stub_includes/opengl/gles2.c
index f74b1686f..cbc5cf847 100644
--- a/make/stub_includes/opengl/gles2.c
+++ b/make/stub_includes/opengl/gles2.c
@@ -1,8 +1,9 @@
-#define GL_APIENTRY
#define GL_APICALL
+#define GL_APIENTRY
// Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in
// "glext.h" are parsed.
#define GL_GLEXT_PROTOTYPES
+#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>