src/video/windows/SDL_windowsopengles.c
changeset 9773 dad226bc43a5
parent 9619 b94b6d0bff0f
child 9998 f67cf37e9cd4
     1.1 --- a/src/video/windows/SDL_windowsopengles.c	Sun Jun 21 19:36:35 2015 +0200
     1.2 +++ b/src/video/windows/SDL_windowsopengles.c	Sun Jun 21 19:37:37 2015 +0200
     1.3 @@ -111,6 +111,7 @@
     1.4  
     1.5      if (_this->egl_data == NULL) {
     1.6          if (SDL_EGL_LoadLibrary(_this, NULL, EGL_DEFAULT_DISPLAY) < 0) {
     1.7 +            SDL_EGL_UnloadLibrary(_this);
     1.8              return -1;
     1.9          }
    1.10      }