Allegro 5 api
#include <allegro5/allegro.h> void al_set_target_backbuffer(ALLEGRO_DISPLAY *display)
Same as al_set_target_bitmap(al_get_backbuffer(display));
al_set_target_bitmap(3alleg5), al_get_backbuffer(3alleg5)