summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorJan Palus <atler@pld-linux.org>2020-04-18 14:32:33 +0200
committerwm4 <wm4@nowhere>2020-04-23 14:04:26 +0200
commit3023837fb9c99e75717891560c2bdb0a6582a30b (patch)
tree32fd6b0f06c348cf7cb5a37d2d33a1987ca738a7 /video/out
parent9cbacefbb03bd7758d35d52a0a3106069db308ea (diff)
downloadmpv-3023837fb9c99e75717891560c2bdb0a6582a30b.tar.bz2
mpv-3023837fb9c99e75717891560c2bdb0a6582a30b.tar.xz
egl_helpers: add typedef for EGLAttrib (#7314)
part of EGL 1.5 which is not present ie on Raspberry Pi
Diffstat (limited to 'video/out')
-rw-r--r--video/out/opengl/egl_helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/egl_helpers.c b/video/out/opengl/egl_helpers.c
index 94a0e66eca..96d7ccbae6 100644
--- a/video/out/opengl/egl_helpers.c
+++ b/video/out/opengl/egl_helpers.c
@@ -42,6 +42,7 @@
#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT 0x00000001
#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE 0x31B1
#define EGL_OPENGL_ES3_BIT 0x00000040
+typedef intptr_t EGLAttrib;
#endif
struct mp_egl_config_attr {