[egl/mir] Need eglGetProc to find gl 4.5 core profile extensions

This commit is contained in:
Brandon Schaefer 2017-09-21 18:38:07 -07:00
parent e5cfb58f4a
commit 466ba57d42

View File

@ -206,7 +206,7 @@ SDL_EGL_GetProcAddress(_THIS, const char *proc)
void *retval;
/* 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) {
retval = _this->egl_data->eglGetProcAddress(proc);
if (retval) {