1al_update_display_region(3)Library Functions Manualal_update_display_region(3)
2
3
4
6 al_update_display_region
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.
17
18 The ALLEGRO_UPDATE_DISPLAY_REGION option (see al_get_display_option(3))
19 will specify the behavior of this function in the display.
20
22 al_flip_display(3), al_get_display_option(3)
23
24
25
26Allegro reference manual al_update_display_region(3)