al_drop_next_event(1) Allegro 5 API

SYNOPSIS


#include <allegro5/allegro.h>
bool al_drop_next_event(ALLEGRO_EVENT_QUEUE *queue)

DESCRIPTION

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