.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_update_display_region" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_update_display_region - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_update_display_region(int x, int y, int width, int height) \f[R] .fi .SH DESCRIPTION .PP Does the same as al_flip_display(3alleg5), but tries to update only the specified region. With many drivers this is not possible, but for some it can improve performance. If this is not supported, this function falls back to the behavior of al_flip_display(3alleg5). You can query the support for this function using \f[V]al_get_display_option(display, ALLEGRO_UPDATE_DISPLAY_REGION)\f[R]. .SH SEE ALSO .PP al_flip_display(3alleg5), al_get_display_option(3alleg5)