#include <allegro5/allegro.h> bool al_acknowledge_resize(ALLEGRO_DISPLAY *display)
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)).
Note that a resize event may be outdated by the time you acknowledge it; there could be further resize events generated in the meantime.
|Allegro reference manual|