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)