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

main
Sam Lantinga 2023-02-20 10:40:54 -08:00
parent 93861e1de0
commit e8091b8983
1 changed files with 0 additions and 1 deletions

View File

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