Преглед изворни кода

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

Sam Lantinga пре 3 година
родитељ
комит
e8091b8983
1 измењених фајлова са 0 додато и 1 уклоњено
  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 {
     @autoreleasepool {
         SDL_EGL_DeleteContext(_this, context);
         SDL_EGL_DeleteContext(_this, context);
-        Cocoa_GLES_UnloadLibrary(_this);
     }
     }
     return 0;
     return 0;
 }
 }