Commit 466ba57d42d244e80357e9ad3011c50af30ed225

Brandon Schaefer 2017-09-21T18:38:07

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/SDL_egl.c b/src/video/SDL_egl.c
index a0c592b..9ccc2c3 100644
--- a/src/video/SDL_egl.c
+++ b/src/video/SDL_egl.c
@@ -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) {