mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-24 01:25:39 +00:00
offscreen: Define missing define on a older EGL for an EXT function which it wont have
This commit is contained in:
parent
8a41948e7f
commit
ee6d504ae9
|
@ -82,6 +82,13 @@
|
||||||
#define DEFAULT_OGL_ES "libGLESv1_CM.so.1"
|
#define DEFAULT_OGL_ES "libGLESv1_CM.so.1"
|
||||||
#endif /* SDL_VIDEO_DRIVER_RPI */
|
#endif /* SDL_VIDEO_DRIVER_RPI */
|
||||||
|
|
||||||
|
/** If we happen to not have this defined because of an older EGL version, just define it 0x0
|
||||||
|
as eglGetPlatformDisplayEXT will most likely be NULL if this is missing
|
||||||
|
*/
|
||||||
|
#ifndef EGL_PLATFORM_DEVICE_EXT
|
||||||
|
#define EGL_PLATFORM_DEVICE_EXT 0x0
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef SDL_VIDEO_STATIC_ANGLE
|
#ifdef SDL_VIDEO_STATIC_ANGLE
|
||||||
#define LOAD_FUNC(NAME) \
|
#define LOAD_FUNC(NAME) \
|
||||||
_this->egl_data->NAME = (void *)NAME;
|
_this->egl_data->NAME = (void *)NAME;
|
||||||
|
|
Loading…
Reference in a new issue