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

It's legitimate to have multiple contexts.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
main
Marc-André Lureau 2023-02-16 18:47:36 +04:00 committed by Sam Lantinga
parent 654965a628
commit 93861e1de0
1 changed files with 0 additions and 1 deletions

View File

@ -97,7 +97,6 @@ WIN_GLES_CreateContext(_THIS, SDL_Window *window)
int WIN_GLES_DeleteContext(_THIS, SDL_GLContext context) int WIN_GLES_DeleteContext(_THIS, SDL_GLContext context)
{ {
SDL_EGL_DeleteContext(_this, context); SDL_EGL_DeleteContext(_this, context);
WIN_GLES_UnloadLibrary(_this);
return 0; return 0;
} }