Explorar o código

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

Sam Lantinga %!s(int64=3) %!d(string=hai) anos
pai
achega
e8091b8983
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/video/cocoa/SDL_cocoaopengles.m

+ 0 - 1
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;
 }