al_acknowledge_drawing_halt(3alleg5)

al_acknowledge_drawing_halt3alleg5

Allegro 5 api

Usage

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

Overview

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.

Since

5.1.0

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.