From ac1634360bb2fd5e852b4664ece2fe1cb30d97da Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sat, 18 Apr 2020 14:47:04 +0200 Subject: drm: add typedef for PFNEGLGETPLATFORMDISPLAYEXTPROC (#7314) extension is not mandatory and is not provided on ie Raspberry Pi --- video/out/opengl/context_drm_egl.c | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.3