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