Allegro Manual
Available Allegro examples
exhello
exmem
expal
expat
exflame
exdbuf
exflip
exfixed
exfont
exmouse
extimer
exkeys
exjoy
exsample
exmidi
exgui
excustom
exunicod
exbitmap
exscale
exconfig
exdata
exsprite
exexedat
extrans
extruec
excolmap
exrgbhsv
exshade
exblend
exxfade
exalpha
exlights
ex3d
excamera
exquat
exstars
exscn3d
exzbuf
exscroll
ex3buf
ex12bit
exaccel
exspline
exsyscur
exupdate
exswitch
exstream
expackf
exdbuf
How to use double buffering to avoid flicker.
Description
Example
exdbuf
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
END_OF_MAIN
SCREEN_H
SCREEN_W
acquire_screen
allegro_error
allegro_init
allegro_message
blit
circlefill
clear_keybuf
clear_to_color
create_bitmap
desktop_palette
destroy_bitmap
font
install_keyboard
install_timer
keypressed
makecol
release_screen
retrace_count
screen
set_gfx_mode
set_palette
textprintf_ex