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>
(cherry picked from commit 93861e1de0)
This commit is contained in:
1 parent
479bc2d5ed
commit
eb22fbc894
1 file changed
-1
@@ -93,7 +93,6 @@ WIN_GLES_CreateContext(_THIS, SDL_Window *window)
|
|||||||
void WIN_GLES_DeleteContext(_THIS, SDL_GLContext context)
|
void WIN_GLES_DeleteContext(_THIS, SDL_GLContext context)
|
||||||
{
|
{
|
||||||
SDL_EGL_DeleteContext(_this, context);
|
SDL_EGL_DeleteContext(_this, context);
|
||||||
WIN_GLES_UnloadLibrary(_this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* *INDENT-OFF* */ /* clang-format off */
|
/* *INDENT-OFF* */ /* clang-format off */
|
||||||
|
|||||||
Reference in new issue
Block a user