al_flip_display man page

al_flip_display — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_flip_display(void)

Description

Copies or updates the front and back buffers so that what has been drawn previously on the currently selected display becomes visible on screen. Pointers to the special back buffer bitmap remain valid and retain their semantics as the back buffer, although the contents may have changed.

Several display options change how this function behaves:

See Also

al_set_new_display_flags(3), al_set_new_display_option(3)

Referenced By

al_set_new_display_option(3), al_update_display_region(3), al_wait_for_vsync(3).

Allegro reference manual