al_acknowledge_drawing_halt man page

al_acknowledge_drawing_halt — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_acknowledge_drawing_halt(ALLEGRO_DISPLAY *display)

Description

Call this in response to the ALLEGRO_EVENT_DISPLAY_HALT_DRAWING(3) 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.

Since

5.1.0

See Also

ALLEGRO_EVENT_DISPLAY_HALT_DRAWING(3)

Referenced By

ALLEGRO_EVENT(3).

Allegro reference manual