PDA

View Full Version : [?] Clean events quene?



arthurprs
19-08-2007, 07:41 PM
=( while my app loads (someone know a good way to do that ?), if the guy click on screen the clicks on the window they to event quene ;/

How can i clear the event quene ?

technomage
19-08-2007, 07:55 PM
The peocedure


SDL_PumpEvents


will process all pending Input state and update, in effect clearing the state.

arthurprs
19-08-2007, 08:53 PM
The peocedure


SDL_PumpEvents


will process all pending Input state and update, in effect clearing the state.

Yeah nice ^^ tnx,

someone knows a good way to make a loadscreen while loading resources?