1al_acknowledge_drawing_halt(3) al_acknowledge_drawing_halt(3)
2
3
4
6 al_acknowledge_drawing_halt - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_acknowledge_drawing_halt(ALLEGRO_DISPLAY *display)
12
14 Call this in response to the ALLEGRO_EVENT_DISPLAY_HALT_DRAWING(3)
15 event. This is currently necessary for Android and iOS as you are not
16 allowed to draw to your display while it is not being shown. If you do
17 not call this function to let the operating system know that you have
18 stopped drawing or if you call it to late the application likely will
19 be considered misbehaving and get terminated.
20
22 5.1.0
23
25 ALLEGRO_EVENT_DISPLAY_HALT_DRAWING(3)
26
27
28
29Allegro reference manual al_acknowledge_drawing_halt(3)