Fix Android CI.

This commit is contained in:
Martín Lucas Golini
2026-07-09 21:06:57 -03:00
parent ce2a73dd3e
commit ea42c21121
3 changed files with 409 additions and 0 deletions
@@ -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();
}