al_flush_event_queue(3)

NAME

al_flush_event_queue - Allegro 5 API

SYNOPSIS

    #include <allegro5/allegro.h>
    void al_flush_event_queue(ALLEGRO_EVENT_QUEUE *queue)

DESCRIPTION

Drops all events, if any, from the queue.

SEE ALSO

al_drop_next_event(3), al_is_event_queue_empty(3)