1al_update_display_region(3) al_update_display_region(3)
2
3
4
6 al_update_display_region - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_update_display_region(int x, int y, int width, int height)
12
14 Does the same as al_flip_display(3), but tries to update only the spec‐
15 ified region. With many drivers this is not possible, but for some it
16 can improve performance. If this is not supported, this function falls
17 back to the behavior of al_flip_display(3). You can query the support
18 for this function using al_get_display_option(display, ALLEGRO_UP‐
19 DATE_DISPLAY_REGION).
20
22 al_flip_display(3), al_get_display_option(3)
23
24
25
26Allegro reference manual al_update_display_region(3)