DOKK / manpages / debian 10 / allegro5-doc / al_clear_to_color.3alleg5.en
al_clear_to_color(3alleg5) al_clear_to_color(3alleg5)

al_clear_to_color - Allegro 5 API

#include <allegro5/allegro.h>
void al_clear_to_color(ALLEGRO_COLOR color)
    

Clear the complete target bitmap, but confined by the clipping rectangle.

ALLEGRO_COLOR(3alleg5), al_set_clipping_rectangle(3alleg5), al_clear_depth_buffer(3alleg5)

Allegro reference manual