al_acknowledge_resize

bool al_acknowledge_resize(ALLEGRO_DISPLAY *display)
Introduced in 5.0.0

When the user receives a resize event 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.

Adjusts the clipping rectangle to the full size of the backbuffer.

Note that a resize event may be outdated by the time you acknowledge it; there could be further resize events generated in the meantime.

See also: al_resize_display, ALLEGRO_EVENT

Examples: ex_expose, ex_mouse_events, ex_multiwin, ex_ogre3d, ex_resize2, ex_threads


Most helpful discussions:

Other recent discussions: