mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Do this workaround for now - for Android/Emscripten
This commit is contained in:
parent
692caf19ce
commit
d433d592e1
@ -260,6 +260,7 @@ static bool check_egl_client_extension(const char *name)
|
||||
|
||||
static EGLDisplay get_egl_display(EGLenum platform, void *native)
|
||||
{
|
||||
#if !defined(ANDROID) && !defined(EMSCRIPTEN)
|
||||
if (platform != EGL_NONE)
|
||||
{
|
||||
/* If the client library supports at least EGL 1.5, then we can call
|
||||
@ -297,6 +298,7 @@ static EGLDisplay get_egl_display(EGLenum platform, void *native)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Either the caller didn't provide a platform type, or the EGL
|
||||
* implementation doesn't support eglGetPlatformDisplay. In this case, try
|
||||
|
Loading…
x
Reference in New Issue
Block a user