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

# exdbuf(3alleg)

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**(3alleg)](/man/BITMAP/3alleg.md), [**END\_OF\_MAIN**(3alleg)](/man/END_OF_MAIN/3alleg.md), [**SCREEN\_H**(3alleg)](/man/SCREEN_H/3alleg.md), [**SCREEN\_W**(3alleg)](/man/SCREEN_W/3alleg.md), [**acquire\_screen**(3alleg)](/man/acquire_screen/3alleg.md), [**allegro\_error**(3alleg)](/man/allegro_error/3alleg.md), [**allegro\_init**(3alleg)](/man/allegro_init/3alleg.md), [**allegro\_message**(3alleg)](/man/allegro_message/3alleg.md), [**blit**(3alleg)](/man/blit/3alleg.md), [**circlefill**(3alleg)](/man/circlefill/3alleg.md), [**clear\_keybuf**(3alleg)](/man/clear_keybuf/3alleg.md), [**clear\_to\_color**(3alleg)](/man/clear_to_color/3alleg.md), [**create\_bitmap**(3alleg)](/man/create_bitmap/3alleg.md), [**desktop\_palette**(3alleg)](/man/desktop_palette/3alleg.md), [**destroy\_bitmap**(3alleg)](/man/destroy_bitmap/3alleg.md), [**font**(3alleg)](/man/font/3alleg.md), [**install\_keyboard**(3alleg)](/man/install_keyboard/3alleg.md), [**install\_timer**(3alleg)](/man/install_timer/3alleg.md), [**keypressed**(3alleg)](/man/keypressed/3alleg.md), [**makecol**(3alleg)](/man/makecol/3alleg.md), [**release\_screen**(3alleg)](/man/release_screen/3alleg.md), [**retrace\_count**(3alleg)](/man/retrace_count/3alleg.md), [**screen**(3alleg)](/man/screen/3alleg.md), [**set\_gfx\_mode**(3alleg)](/man/set_gfx_mode/3alleg.md), [**set\_palette**(3alleg)](/man/set_palette/3alleg.md), [**textprintf\_ex**(3alleg)](/man/textprintf_ex/3alleg.md)
