summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/opengl/GL3/glplatform.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-06 06:40:35 +0100
committerSven Gothel <[email protected]>2010-11-06 06:40:35 +0100
commit809d864d88744b80e8e9374d2bbc9d939dbb58f7 (patch)
tree88e0ea98baebca47b22f267a769365e70e0d156e /make/stub_includes/opengl/GL3/glplatform.h
parentabe789311fa607bd73277b38024b4908e350fd8c (diff)
Minor patch to headers for gluegen ; GLES2 extensions
- ifndef GLAPI - GLES2/gl2ext.h add a few basic extensions - gl-64bit-types.h: use khronos 64bit types
Diffstat (limited to 'make/stub_includes/opengl/GL3/glplatform.h')
-rw-r--r--make/stub_includes/opengl/GL3/glplatform.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/stub_includes/opengl/GL3/glplatform.h b/make/stub_includes/opengl/GL3/glplatform.h
index d1ffba5fa..958d95cb1 100644
--- a/make/stub_includes/opengl/GL3/glplatform.h
+++ b/make/stub_includes/opengl/GL3/glplatform.h
@@ -20,7 +20,9 @@
# define APIENTRY __stdcall
#else
/* non-Windows compilation */
-# define GLAPI extern
+# ifndef GLAPI
+# define GLAPI extern
+# endif
# define APIENTRY
#endif /* WIN32 / CYGWIN bracket */