#include <allegro5/allegro.h> void al_backup_dirty_bitmap(ALLEGRO_BITMAP *bitmap)
This function gives you more control over when your bitmaps get backed up. By calling this function after modifying a bitmap, you can make sure the bitmap is backed up right away instead of during the next flip.
[Unstable API]: This API is new and subject to refinement.
|Allegro reference manual|