summaryrefslogtreecommitdiff
path: root/recipes/glmark2/files/gl-char.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/glmark2/files/gl-char.patch')
-rw-r--r--recipes/glmark2/files/gl-char.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/glmark2/files/gl-char.patch b/recipes/glmark2/files/gl-char.patch
new file mode 100644
index 0000000..956191e
--- /dev/null
+++ b/recipes/glmark2/files/gl-char.patch
@@ -0,0 +1,11 @@
+--- glmark2-2012.08/src/gl-headers.h.orig 2012-11-14 11:11:43.991688984 +0100
++++ glmark2-2012.08/src/gl-headers.h 2012-11-14 11:13:45.581817248 +0100
+@@ -33,6 +33,8 @@
+ #elif USE_GLESv2
+ #include <GLES2/gl2.h>
+ #include <GLES2/gl2ext.h>
++/* provide GLchar which is not defined in our old gl2.h */
++typedef char GLchar;
+ #ifndef GL_WRITE_ONLY
+ #define GL_WRITE_ONLY GL_WRITE_ONLY_OES
+ #endif