The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL_PushEvent problem
GameCodingNinja


Joined: 29 Aug 2014
Posts: 32
I need a way to add an event that is cued up for the next time through the game loop. SDL_PushEvent causes your current message to be processed immediately within the same iteration. There's times you need to send an event because of an event.