summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-27 20:26:08 +0200
committerwm4 <wm4@nowhere>2016-04-27 20:26:08 +0200
commit304d9d58ddcb5e524a27b70720c47f7b3c402c81 (patch)
tree222782263be05b2b8251fa17b197bab5d84ee1b2
parent9d16837c99c91e786e517b2520afa79bcdc433b3 (diff)
downloadmpv-304d9d58ddcb5e524a27b70720c47f7b3c402c81.tar.bz2
mpv-304d9d58ddcb5e524a27b70720c47f7b3c402c81.tar.xz
vo_opengl: fix build with GLES3 headers
Legacy desktop GL only symbols. Broken by the previous commit.
-rw-r--r--video/out/opengl/header_fixes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/header_fixes.h b/video/out/opengl/header_fixes.h
index 885c27700f..9f9b58f8d3 100644
--- a/video/out/opengl/header_fixes.h
+++ b/video/out/opengl/header_fixes.h
@@ -80,6 +80,8 @@
#define GL_TEXTURE_LUMINANCE_SIZE 0x8060
#define GL_R16 0x822A
#define GL_RG16 0x822C
+#define GL_LUMINANCE8 0x8040
+#define GL_LUMINANCE8_ALPHA8 0x8045
#define GL_LUMINANCE16 0x8042
#define GL_LUMINANCE16_ALPHA16 0x8048
#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA