SYNOPSIS

#include <allegro.h>

void clear_to_color(BITMAP *bitmap, int color);

DESCRIPTION

Clears the bitmap to the specified color. Example:

   /* Clear the screen to red. */
   clear_to_color(bmp, makecol(255, 0, 0));

RELATED TO clear_to_color…

clear_bitmap(3alleg4), makecol(3alleg4)