aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-01-21 17:30:41 +0200
committerJukka Jylänki <jujjyl@gmail.com>2014-01-21 17:30:41 +0200
commit19a38d059bd6da1402edd3dc13c8485025059fa7 (patch)
tree14d327a5224de5d891274908271cc7b5684fc97e
parentd806b71796493113e000b1dd5f918aaab691aba0 (diff)
Workaround glew linkage issue, see https://github.com/kripken/emscripten/issues/2025
-rw-r--r--system/include/GL/glew.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/include/GL/glew.h b/system/include/GL/glew.h
index efd90d6f..8be23b60 100644
--- a/system/include/GL/glew.h
+++ b/system/include/GL/glew.h
@@ -827,7 +827,9 @@ GLenum glewInit (void);
GLboolean glewIsSupported (const char *name);
#define glewIsExtensionSupported(x) glewIsSupported(x)
-GLboolean glewExperimental;
+//GLboolean glewExperimental;
+static GLboolean glewExperimental; // XXX Emscripten Added 'static' to work around a linkage issue. See https://github.com/kripken/emscripten/issues/2025
+
GLboolean glewGetExtension (const char *name);
const GLubyte * glewGetErrorString (GLenum error);
const GLubyte * glewGetString (GLenum name);