clear_to_color3alleg4
Clears the bitmap to the specified color. allegro game programming library.
Usage
#include <allegro.h>
void clear_to_color(BITMAP *bitmap, int color);
Overview
Clears the bitmap to the specified color. Example:
/* Clear the screen to red. */ clear_to_color(bmp, makecol(255, 0, 0));
Releases
7 releases since Debian 7 (Wheezy); the text changed 1 time.