summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/header_fixes.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-12 11:17:49 +0200
committerwm4 <wm4@nowhere>2016-05-12 11:17:49 +0200
commitd4712af5af93bc2aea47d15b52dedcc61d9f81f1 (patch)
treee5d06f36d99e7c66f0af9a6938cef438173bae51 /video/out/opengl/header_fixes.h
parent809d2352088234bf040c257fea2068838e95d5a1 (diff)
downloadmpv-d4712af5af93bc2aea47d15b52dedcc61d9f81f1.tar.bz2
mpv-d4712af5af93bc2aea47d15b52dedcc61d9f81f1.tar.xz
vo_opengl: angle: dump translated shaders
Helpful for debugging and such.
Diffstat (limited to 'video/out/opengl/header_fixes.h')
-rw-r--r--video/out/opengl/header_fixes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/opengl/header_fixes.h b/video/out/opengl/header_fixes.h
index 494658a64b..92867a0d01 100644
--- a/video/out/opengl/header_fixes.h
+++ b/video/out/opengl/header_fixes.h
@@ -93,6 +93,11 @@
#define GL_TEXTURE_EXTERNAL_OES 0x8D65
#endif
+// GL_ANGLE_translated_shader_source
+#ifndef GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE
+#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
+#endif
+
#undef MP_GET_GL_WORKAROUNDS
#endif // MP_GET_GL_WORKAROUNDS