---
name: "clear_bitmap"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/clear_bitmap"
---

# clear\_bitmap(3alleg)

Clears the bitmap to color 0. Allegro game programming library.

## NAME

clear\_bitmap - Clears the bitmap to color 0. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**void clear\_bitmap(BITMAP \*bitmap);**

## DESCRIPTION

Clears the bitmap to color 0.

## SEE ALSO

[**clear\_to\_color**(3alleg)](/clear_to_color/3alleg.md)
