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

(cherry picked from commit e8091b89830c3b9bb19eff76463a6e2525f05fa5)
This commit is contained in:
Sam Lantinga 2023-02-20 10:40:54 -08:00
parent eb22fbc894
commit 0efb31ef32

View file

@ -95,7 +95,6 @@ Cocoa_GLES_DeleteContext(_THIS, SDL_GLContext context)
{ @autoreleasepool
{
SDL_EGL_DeleteContext(_this, context);
Cocoa_GLES_UnloadLibrary(_this);
}}
int