al_flush_event_queue
void al_flush_event_queue(ALLEGRO_EVENT_QUEUE *queue)
Introduced in 5.0.0
Drops all events, if any, from the queue.
See also: al_drop_next_event, al_is_event_queue_empty
Examples: ex_vsync
Most helpful discussions:
- [A5] Clearing Keyboard Buffer/Event Queue (1)
- Mixing Allegro 5 with OPENGL
- Characters missing after al_get_text_width()
- Keyboard input trought allegro
- How to stop events from being detected?
- Restart program/ resize screen
- Floodfill...ish... math.
- How to puase a game for a few seconds
- [A5] pixel alpha // al_put_pixel() ?! game loop
- Getting user input in allegro 5
Other recent discussions:
- FPS Timer Class not working
- A5 program doesn't work after computer suspend
- [A5] iOS - Touch Events non-functonal when game resumes from hibernation
- how to get mickeys to work with unlimited mouse movement range
- sound problems... again
- SpeedHack 2011 is coming soon
- Writing a game loop
- From A4 to A5: questions (console window, key presses,timers/sprite animation)
- I'm with a doubt about text on screen
- [a5] Anything wrong with the code?