mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
SDL_kmsdrmvideo.c: define EGL_PLATFORM_GBM_MESA if it's missing.
Fixes: https://github.com/libsdl-org/SDL/issues/4232
This commit is contained in:
@@ -64,6 +64,10 @@
|
|||||||
#define KMSDRM_DRI_CARDPATHFMT "/dev/dri/card%d"
|
#define KMSDRM_DRI_CARDPATHFMT "/dev/dri/card%d"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_PLATFORM_GBM_MESA
|
||||||
|
#define EGL_PLATFORM_GBM_MESA 0x31D7
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
check_modestting(int devindex)
|
check_modestting(int devindex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user