aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa-demos/mesa-demos-gles.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mesa-demos/mesa-demos-gles.patch')
-rw-r--r--main/mesa-demos/mesa-demos-gles.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/mesa-demos/mesa-demos-gles.patch b/main/mesa-demos/mesa-demos-gles.patch
new file mode 100644
index 0000000000..20d4430662
--- /dev/null
+++ b/main/mesa-demos/mesa-demos-gles.patch
@@ -0,0 +1,15 @@
+diff --git a/src/egl/opengles2/es2_info.c b/src/egl/opengles2/es2_info.c
+index 93816b5..647d634 100644
+--- a/src/egl/opengles2/es2_info.c
++++ b/src/egl/opengles2/es2_info.c
+@@ -18,8 +18,8 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include <X11/keysym.h>
+-#include <GLES/gl.h>
+-#include <GLES/glext.h>
++#include <GLES2/gl2.h>
++#include <GLES2/gl2ext.h>
+ #include <EGL/egl.h>
+
+