clear_to_color - Man Page

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 Also

clear_bitmap(3), makecol(3)

Info

version 4.4.3 Allegro manual