summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/egl
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/egl
parent809d864d88744b80e8e9374d2bbc9d939dbb58f7 (diff)
Minor gluegen 'loader file' change
Diffstat (limited to 'make/stub_includes/egl')
-rw-r--r--make/stub_includes/egl/window-system-ext.c4
-rw-r--r--make/stub_includes/egl/window-system1.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/make/stub_includes/egl/window-system-ext.c b/make/stub_includes/egl/window-system-ext.c
index 7398847ac..3e0d705f3 100644
--- a/make/stub_includes/egl/window-system-ext.c
+++ b/make/stub_includes/egl/window-system-ext.c
@@ -1,7 +1,9 @@
-#define USE_GLUEGEN
+#define EGLAPI
+#define EGLAPIENTRY
// Define EGL_EGLEXT_PROTOTYPES so that the EGL extension prototypes in
// "eglext.h" are parsed.
#define EGL_EGLEXT_PROTOTYPES
+#include <EGL/egl.h>
#include <EGL/eglext.h>
diff --git a/make/stub_includes/egl/window-system1.c b/make/stub_includes/egl/window-system1.c
index fbd0f0cde..630ae5339 100644
--- a/make/stub_includes/egl/window-system1.c
+++ b/make/stub_includes/egl/window-system1.c
@@ -1,2 +1,4 @@
-#define USE_GLUEGEN
+#define EGLAPI
+#define EGLAPIENTRY
+
#include <EGL/egl.h>