DOKK / manpages / debian 10 / allegro5-doc / al_acknowledge_drawing_halt.3alleg5.en
al_acknowledge_drawing_halt(3alleg5) al_acknowledge_drawing_halt(3alleg5)

al_acknowledge_drawing_halt - Allegro 5 API

#include <allegro5/allegro.h>
void al_acknowledge_drawing_halt(ALLEGRO_DISPLAY *display)
    

Call this in response to the ALLEGRO_EVENT_DISPLAY_HALT_DRAWING(3alleg5) event. This is currently necessary for Android and iOS as you are not allowed to draw to your display while it is not being shown. If you do not call this function to let the operating system know that you have stopped drawing or if you call it to late the application likely will be considered misbehaving and get terminated.

5.1.0

ALLEGRO_EVENT_DISPLAY_HALT_DRAWING(3alleg5)

Allegro reference manual