mirror of
https://github.com/mpv-player/mpv
synced 2025-01-15 11:31:02 +00:00
context_drm_egl: define EGL_PLATFORM_GBM_MESA, EGL_PLATFORM_GBM_KHR if not in system headers
To account for oddball setups where EGL_PLATFORM_GBM_MESA or EGL_PLATFORM_GBM_KHR might not be defined for whatever reason.
This commit is contained in:
parent
95ca78b63e
commit
22252432e2
@ -37,6 +37,14 @@
|
||||
#include "common.h"
|
||||
#include "context.h"
|
||||
|
||||
#ifndef EGL_PLATFORM_GBM_MESA
|
||||
#define EGL_PLATFORM_GBM_MESA 0x31D7
|
||||
#endif
|
||||
|
||||
#ifndef EGL_PLATFORM_GBM_KHR
|
||||
#define EGL_PLATFORM_GBM_KHR 0x31D7
|
||||
#endif
|
||||
|
||||
#define USE_MASTER 0
|
||||
|
||||
struct framebuffer
|
||||
|
Loading…
Reference in New Issue
Block a user