1al_acknowledge_resize(3) al_acknowledge_resize(3)
2
3
4
6 al_acknowledge_resize - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 bool al_acknowledge_resize(ALLEGRO_DISPLAY *display)
12
14 When the user receives a [resize event]ALLEGRO_EVENT_DISPLAY_RESIZE(3)
15 from a resizable display, if they wish the display to be resized they
16 must call this function to let the graphics driver know that it can now
17 resize the display. Returns true on success.
18
19 Adjusts the clipping rectangle to the full size of the backbuffer.
20 This also resets the backbuffers projection transform to default ortho‐
21 graphic transform (see al_use_projection_transform(3)).
22
23 Note that a resize event may be outdated by the time you acknowledge
24 it; there could be further resize events generated in the meantime.
25
27 al_resize_display(3), ALLEGRO_EVENT(3)
28
29
30
31Allegro reference manual al_acknowledge_resize(3)