New answers tagged


TL,DR: The SDL2 event/render system is not yet thread-safe, but you can overcome this limitation by using OpenGL to decouple the renderer system from your application (and then perform all rendering in a separate thread using only OpenGL functions). In this method, you still have a single event queue. Another way is to use multiple processes (e.g. using ...

Top 50 recent answers are included