Ver Fonte

windows/gles: do not unload EGL when context is destroyed

It's legitimate to have multiple contexts.

Signed-off-by: Marc-André Lureau <[email protected]>
(cherry picked from commit 93861e1de00a76080fa6ed756a6bd9c764b3ec07)
Marc-André Lureau há 2 anos atrás
pai
commit
eb22fbc894
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      src/video/windows/SDL_windowsopengles.c

+ 0 - 1
src/video/windows/SDL_windowsopengles.c

@@ -93,7 +93,6 @@ WIN_GLES_CreateContext(_THIS, SDL_Window *window)
 void WIN_GLES_DeleteContext(_THIS, SDL_GLContext context)
 {
     SDL_EGL_DeleteContext(_this, context);
-    WIN_GLES_UnloadLibrary(_this);
 }
 
 /* *INDENT-OFF* */ /* clang-format off */