---
name: "clear_bitmap"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/clear_bitmap/3alleg4"
---

# clear\_bitmap(3alleg4)

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**(3alleg4)
