Sfoglia il codice sorgente

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

Brandon Schaefer 7 anni fa
parent
commit
466ba57d42
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/video/SDL_egl.c

+ 1 - 1
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) {