clear_to_color(3) Allegro manual clear_to_color(3)NAMEclear_to_color - Clears the bitmap to the specified color. Allegro game
programming library.
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));
SEE ALSOclear_bitmap(3), makecol(3)Allegro version 4.4.2 clear_to_color(3)