SYNOPSIS

  • #include <allegro5/allegro.h>
    
    bool al_acknowledge_resize(ALLEGRO_DISPLAY *display)
    
    

DESCRIPTION

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.

RELATED TO al_acknowledge_resize…

al_resize_display(3alleg5), ALLEGRO_EVENT(3alleg5)