mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Merge pull request #4833 from kbrenneman/platform-enums
Define the platform enums if they aren't in eglext.h.
This commit is contained in:
commit
8eed4c38cf
@ -60,6 +60,10 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_PLATFORM_GBM_KHR
|
||||||
|
#define EGL_PLATFORM_GBM_KHR 0x31D7
|
||||||
|
#endif
|
||||||
|
|
||||||
static enum gfx_ctx_api drm_api = GFX_CTX_NONE;
|
static enum gfx_ctx_api drm_api = GFX_CTX_NONE;
|
||||||
|
|
||||||
static struct gbm_bo *g_bo = NULL;
|
static struct gbm_bo *g_bo = NULL;
|
||||||
|
@ -113,6 +113,10 @@ static enum gfx_ctx_api wl_api = GFX_CTX_NONE;
|
|||||||
#define EGL_OPENGL_ES3_BIT_KHR 0x0040
|
#define EGL_OPENGL_ES3_BIT_KHR 0x0040
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_PLATFORM_WAYLAND_KHR
|
||||||
|
#define EGL_PLATFORM_WAYLAND_KHR 0x31D8
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_XKBCOMMON
|
#ifdef HAVE_XKBCOMMON
|
||||||
/* FIXME: Move this into a header? */
|
/* FIXME: Move this into a header? */
|
||||||
int init_xkb(int fd, size_t size);
|
int init_xkb(int fd, size_t size);
|
||||||
|
@ -34,6 +34,10 @@
|
|||||||
#define EGL_OPENGL_ES3_BIT_KHR 0x0040
|
#define EGL_OPENGL_ES3_BIT_KHR 0x0040
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_PLATFORM_X11_KHR
|
||||||
|
#define EGL_PLATFORM_X11_KHR 0x31D5
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
#ifdef HAVE_EGL
|
#ifdef HAVE_EGL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user