summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-demos/gles2-info.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-demos/gles2-info.patch')
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos/gles2-info.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos/gles2-info.patch b/meta/recipes-graphics/mesa/mesa-demos/gles2-info.patch
new file mode 100644
index 0000000000..849c974e09
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-demos/gles2-info.patch
@@ -0,0 +1,21 @@
1Fix to enable gles2 to build.
2
3Ross Burton <ross.burton@intel.com>
4
5Upstream-Status: Pending
6
7Index: mesa-demos-8.0.1/src/egl/opengles2/es2_info.c
8===================================================================
9--- mesa-demos-8.0.1.orig/src/egl/opengles2/es2_info.c 2010-07-07 18:57:15.000000000 +0100
10+++ mesa-demos-8.0.1/src/egl/opengles2/es2_info.c 2012-08-01 13:14:59.000104115 +0100
11@@ -18,8 +18,8 @@
12 #include <X11/Xlib.h>
13 #include <X11/Xutil.h>
14 #include <X11/keysym.h>
15-#include <GLES/gl.h>
16-#include <GLES/glext.h>
17+#include <GLES2/gl2.h>
18+#include <GLES2/gl2ext.h>
19 #include <EGL/egl.h>
20
21