mirror of https://github.com/mpv-player/mpv
drm: add typedef for PFNEGLGETPLATFORMDISPLAYEXTPROC (#7314)
extension is not mandatory and is not provided on ie Raspberry Pi
This commit is contained in:
parent
fd8e856afe
commit
ac1634360b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue