exdbuf(3) 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.