Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

clear_to_color - Clears the bitmap to the specified color. Allegro game programming library.

Description

       Clears the bitmap to the specified color. Example:

          /* Clear the screen to red. */
          clear_to_color(bmp, makecol(255, 0, 0));

Name

       clear_to_color - Clears the bitmap to the specified color. Allegro game programming library.

See Also

clear_bitmap(3alleg4), makecol(3alleg4)

Allegro                                           version 4.4.3                          clear_to_color(3alleg4)

Synopsis

#include<allegro.h>voidclear_to_color(BITMAP*bitmap,intcolor);

See Also