src/video/windows/SDL_windowsopengles.c
changeset 11175 cbc6a8a5b701
parent 10800 f3439b0eb486
child 11811 5d94cb6b24d3
     1.1 --- a/src/video/windows/SDL_windowsopengles.c	Mon Jul 31 13:49:22 2017 -0400
     1.2 +++ b/src/video/windows/SDL_windowsopengles.c	Wed Aug 02 10:22:48 2017 -0700
     1.3 @@ -52,7 +52,7 @@
     1.4      }
     1.5      
     1.6      if (_this->egl_data == NULL) {
     1.7 -        return SDL_EGL_LoadLibrary(_this, NULL, EGL_DEFAULT_DISPLAY);
     1.8 +        return SDL_EGL_LoadLibrary(_this, NULL, EGL_DEFAULT_DISPLAY, 0);
     1.9      }
    1.10  
    1.11      return 0;
    1.12 @@ -110,7 +110,7 @@
    1.13  
    1.14  
    1.15      if (_this->egl_data == NULL) {
    1.16 -        if (SDL_EGL_LoadLibrary(_this, NULL, EGL_DEFAULT_DISPLAY) < 0) {
    1.17 +        if (SDL_EGL_LoadLibrary(_this, NULL, EGL_DEFAULT_DISPLAY, 0) < 0) {
    1.18              SDL_EGL_UnloadLibrary(_this);
    1.19              return -1;
    1.20          }