summaryrefslogtreecommitdiff
path: root/src/video/sdl2_default_v.h
AgeCommit message (Collapse)Author
2021-03-08Remove: [Video] no longer draw in a threadPatric Stout
Drawing in a thread is a bit odd, and often leads to surprising issues. For example, OpenGL would only allow it if you move the full context to the thread. Which is not always easily done on all OSes. In general, the advise is to handle system events and drawing from the main thread, and do everything else in other threads. So, let's be more like other games. Additionally, putting the drawing routine in a thread was only done for a few targets. Upcoming commit will move the GameLoop in a thread, which will work for all targets.
2021-02-22Codechange: [SDL2] Split driver in base-part and default backendMichael Lutz