al_drop_next_event(3alleg5) | al_drop_next_event(3alleg5) |
al_drop_next_event - Allegro 5 API
#include <allegro5/allegro.h> bool al_drop_next_event(ALLEGRO_EVENT_QUEUE *queue)
Drop (remove) the next event from the queue. If the queue is empty, nothing happens. Returns true if an event was dropped.
al_flush_event_queue(3alleg5), al_is_event_queue_empty(3alleg5)
Allegro reference manual |