aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/opengl
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-04-27 20:26:08 +0200
committerGravatar wm4 <wm4@nowhere>2016-04-27 20:26:08 +0200
commit304d9d58ddcb5e524a27b70720c47f7b3c402c81 (patch)
tree222782263be05b2b8251fa17b197bab5d84ee1b2 /video/out/opengl
parent9d16837c99c91e786e517b2520afa79bcdc433b3 (diff)
vo_opengl: fix build with GLES3 headers
Legacy desktop GL only symbols. Broken by the previous commit.
Diffstat (limited to 'video/out/opengl')
-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