An event loop example for SDL1.2 and SDL2.0 that will serve as example code for a bug report I am making