---
name: "release_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/release_bitmap/3alleg4"
---

# release\_bitmap(3alleg4)

Releases a previously locked bitmap. Allegro game programming library.

## NAME

release\_bitmap - Releases a previously locked bitmap. Allegro game programming library.

## SYNOPSIS

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

**void release\_bitmap(BITMAP \*bmp);**

## DESCRIPTION

Releases a bitmap that was previously locked by calling acquire\_bitmap().  If the bitmap was locked multiple times, you must release it the same  number of times before it will truly be unlocked.

## SEE ALSO

**acquire\_bitmap**(3alleg4), **acquire\_screen**(3alleg4), **release\_screen**(3alleg4), **ex3buf**(3alleg4), **exaccel**(3alleg4), **expat**(3alleg4), **exquat**(3alleg4), **exscroll**(3alleg4), **exswitch**(3alleg4), **exupdate**(3alleg4)
