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

# exdbuf(3alleg4)

How to use double buffering to avoid flicker. Allegro game programming library.

## NAME

exdbuf - How to use double buffering to avoid flicker. Allegro game programming library.

## SYNOPSIS

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

**Example exdbuf**

## DESCRIPTION

This program demonstrates the use of double buffering. It moves a circle across the screen, first just erasing and redrawing directly to the screen, then with a double buffer.

## SEE ALSO

**BITMAP**(3alleg4), **END\_OF\_MAIN**(3alleg4), **SCREEN\_H**(3alleg4), **SCREEN\_W**(3alleg4), **acquire\_screen**(3alleg4), **allegro\_error**(3alleg4), **allegro\_init**(3alleg4), **allegro\_message**(3alleg4), **blit**(3alleg4), **circlefill**(3alleg4), **clear\_keybuf**(3alleg4), **clear\_to\_color**(3alleg4), **create\_bitmap**(3alleg4), **desktop\_palette**(3alleg4), **destroy\_bitmap**(3alleg4), **font**(3alleg4), **install\_keyboard**(3alleg4), **install\_timer**(3alleg4), **keypressed**(3alleg4), **makecol**(3alleg4), **release\_screen**(3alleg4), **retrace\_count**(3alleg4), **screen**(3alleg4), **set\_gfx\_mode**(3alleg4), **set\_palette**(3alleg4), **textprintf\_ex**(3alleg4)
