mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-03 03:31:04 +03:00
Fix Android CI.
This commit is contained in:
@@ -323,7 +323,9 @@ void WindowSDL::setGLContextThread() {
|
||||
|
||||
void WindowSDL::unsetGLContextThread() {
|
||||
SDL_GL_MakeCurrent( mSDLWindow, nullptr );
|
||||
#if SDL_VERSION_ATLEAST( 2, 0, 16 )
|
||||
SDL_TLSCleanup();
|
||||
#endif
|
||||
mGLContextMutex.unlock();
|
||||
}
|
||||
|
||||
|
||||
@@ -298,7 +298,9 @@ void WindowSDL::setGLContextThread() {
|
||||
|
||||
void WindowSDL::unsetGLContextThread() {
|
||||
SDL_GL_MakeCurrent( mSDLWindow, nullptr );
|
||||
#if SDL_VERSION_ATLEAST( 3, 2, 0 )
|
||||
SDL_CleanupTLS();
|
||||
#endif
|
||||
mGLContextMutex.unlock();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user