drm: add typedef for PFNEGLGETPLATFORMDISPLAYEXTPROC (#7314)

extension is not mandatory and is not provided on ie Raspberry Pi
This commit is contained in:
Jan Palus 2020-04-18 14:47:04 +02:00 committed by wm4
parent fd8e856afe
commit ac1634360b
1 changed files with 5 additions and 0 deletions

View File

@ -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;