diff options
author | Jan Palus <atler@pld-linux.org> | 2020-04-18 14:47:04 +0200 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2020-05-14 15:07:58 +0200 |
commit | ac1634360bb2fd5e852b4664ece2fe1cb30d97da (patch) | |
tree | 27b45448905050d7847a7b448ac2fa1f1e6046ce | |
parent | fd8e856afecc567764926876739772e79ade028f (diff) | |
download | mpv-ac1634360bb2fd5e852b4664ece2fe1cb30d97da.tar.bz2 mpv-ac1634360bb2fd5e852b4664ece2fe1cb30d97da.tar.xz |
drm: add typedef for PFNEGLGETPLATFORMDISPLAYEXTPROC (#7314)
extension is not mandatory and is not provided on ie Raspberry Pi
-rw-r--r-- | video/out/opengl/context_drm_egl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/opengl/context_drm_egl.c b/video/out/opengl/context_drm_egl.c index 3b5dac64da..86ce57122c 100644 --- a/video/out/opengl/context_drm_egl.c +++ b/video/out/opengl/context_drm_egl.c @@ -46,6 +46,11 @@ #define USE_MASTER 0 +#ifndef EGL_EXT_platform_base +typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) + (EGLenum platform, void *native_display, const EGLint *attrib_list); +#endif + struct framebuffer { int fd; |