cocoa/gles: do not unload EGL when context is destroyed
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user