.\" Automatically generated by Pandoc 3.1.6.2 .\" .\" 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_acknowledge_resize" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP al_acknowledge_resize - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_acknowledge_resize(ALLEGRO_DISPLAY *display) \f[R] .fi .SH DESCRIPTION .PP When the user receives a [resize event]ALLEGRO_EVENT_DISPLAY_RESIZE(3) from a resizable display, if they wish the display to be resized they must call this function to let the graphics driver know that it can now resize the display. Returns true on success. .PP Adjusts the clipping rectangle to the full size of the backbuffer. This also resets the backbuffers projection transform to default orthographic transform (see al_use_projection_transform(3)). .PP Note that a resize event may be outdated by the time you acknowledge it; there could be further resize events generated in the meantime. .SH SEE ALSO .PP al_resize_display(3), ALLEGRO_EVENT(3)