al_drop_next_event

bool al_drop_next_event(ALLEGRO_EVENT_QUEUE *queue)
Introduced in 5.0.0

Drop (remove) the next event from the queue. If the queue is empty, nothing happens. Returns true if an event was dropped.

See also: al_flush_event_queue, al_is_event_queue_empty


Most helpful discussions:

Other recent discussions: