In the android environment, after calling SDL.SDL_GL_CreateContext in a non-main thread, the program hangs, there is no response, but it is normal in the main thread.

Hello everyone, I am using to port a game and want to create a separate rendering thread, so I created a thread using C# and called SDL.SDL_GL_CreateContext in this thread, but the result is no error message, nor any Responding, it seems that the program has been suspended, but it is normal when I switch back to a single-threaded environment.

I don’t know about Xamarin, but commonly most of SDL_* rendering functions designed for using at main loop starting in the SDL_Main function.