clear_to_color(3alleg4)

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.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.