summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFloens <floens@gmail.com>2016-06-20 16:54:23 +0200
committerwm4 <wm4@nowhere>2016-06-20 19:24:42 +0200
commit65280e47cd831e221b01d3ba31cd9b5f1d52357c (patch)
tree1f35e0cbc867def640c20e242a9e6afaed754a6b
parent30adf280fdb439f4350ec5ed33500d23635af881 (diff)
downloadmpv-65280e47cd831e221b01d3ba31cd9b5f1d52357c.tar.bz2
mpv-65280e47cd831e221b01d3ba31cd9b5f1d52357c.tar.xz
vo_opengl: manually add the GL_BACK_LEFT constant for GLES
GLES doesn't have this constant. It's not used on GLES. I'm starting to think we need some better way to do this.
-rw-r--r--video/out/opengl/header_fixes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/opengl/header_fixes.h b/video/out/opengl/header_fixes.h
index 048165f7fd..9953f7e497 100644
--- a/video/out/opengl/header_fixes.h
+++ b/video/out/opengl/header_fixes.h
@@ -62,6 +62,10 @@
#define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
#endif
+#ifndef GL_BACK_LEFT
+#define GL_BACK_LEFT 0x0402
+#endif
+
#if HAVE_ANDROID_GL
#define GL_UNSIGNED_BYTE_3_3_2 0x8032
#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362