1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
.TH "al_acknowledge_drawing_halt" "3" "" "Allegro reference manual" ""
.SH NAME
.PP
al_acknowledge_drawing_halt \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro.h>
void\ al_acknowledge_drawing_halt(ALLEGRO_DISPLAY\ *display)
\f[]
.fi
.SH DESCRIPTION
.PP
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.
.SH SINCE
.PP
5.1.0
.SH SEE ALSO
.PP
ALLEGRO_EVENT_DISPLAY_HALT_DRAWING(3)
|