mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
[egl/mir] Need eglGetProc to find gl 4.5 core profile extensions
This commit is contained in:
parent
e5cfb58f4a
commit
466ba57d42
@ -206,7 +206,7 @@ SDL_EGL_GetProcAddress(_THIS, const char *proc)
|
|||||||
void *retval;
|
void *retval;
|
||||||
|
|
||||||
/* eglGetProcAddress is busted on Android http://code.google.com/p/android/issues/detail?id=7681 */
|
/* eglGetProcAddress is busted on Android http://code.google.com/p/android/issues/detail?id=7681 */
|
||||||
#if !defined(SDL_VIDEO_DRIVER_ANDROID) && !defined(SDL_VIDEO_DRIVER_MIR)
|
#if !defined(SDL_VIDEO_DRIVER_ANDROID)
|
||||||
if (_this->egl_data->eglGetProcAddress) {
|
if (_this->egl_data->eglGetProcAddress) {
|
||||||
retval = _this->egl_data->eglGetProcAddress(proc);
|
retval = _this->egl_data->eglGetProcAddress(proc);
|
||||||
if (retval) {
|
if (retval) {
|
||||||
|
Loading…
Reference in New Issue
Block a user