From e8091b89830c3b9bb19eff76463a6e2525f05fa5 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 20 Feb 2023 10:40:54 -0800 Subject: [PATCH] cocoa/gles: do not unload EGL when context is destroyed --- src/video/cocoa/SDL_cocoaopengles.m | 1 - 1 file changed, 1 deletion(-) diff --git a/src/video/cocoa/SDL_cocoaopengles.m b/src/video/cocoa/SDL_cocoaopengles.m index 4442d85cae..c188af3d33 100644 --- a/src/video/cocoa/SDL_cocoaopengles.m +++ b/src/video/cocoa/SDL_cocoaopengles.m @@ -96,7 +96,6 @@ int Cocoa_GLES_DeleteContext(_THIS, SDL_GLContext context) { @autoreleasepool { SDL_EGL_DeleteContext(_this, context); - Cocoa_GLES_UnloadLibrary(_this); } return 0; }