al_resize_display(3)

al_resize_display3

Allegro 5 api

Usage

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

Overview

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.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.