DOKK / manpages / debian 10 / allegro5-doc / al_resize_display.3alleg5.en
al_resize_display(3alleg5) al_resize_display(3alleg5)

al_resize_display - Allegro 5 API

#include <allegro5/allegro.h>
bool al_resize_display(ALLEGRO_DISPLAY *display, int width, int height)
    

Resize the display. Returns true on success, or false on error. This works on both fullscreen and windowed displays, regardless of the ALLEGRO_RESIZABLE flag.

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

al_acknowledge_resize(3alleg5)

Allegro reference manual