1clear_to_color(3) Allegro manual clear_to_color(3)
23
4
NAME
6clear_to_color - Clears the bitmap to the specified color. Allegro game
7programming library.
8
SYNOPSIS
10#include <allegro.h>
1112
13
void clear_to_color(BITMAP *bitmap, int color);
14
DESCRIPTION
16Clears the bitmap to the specified color. Example:
1718
/* Clear the screen to red. */
19clear_to_color(bmp, makecol(255, 0, 0));
2021
SEE ALSO
23clear_bitmap(3), makecol(3)
2425
26
27
Allegro version 4.2.2 clear_to_color(3)