---
name: "al_resize_display"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_resize_display/3alleg5"
---

# al\_resize\_display(3alleg5)

Allegro 5 API

## NAME

al\_resize\_display - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

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.

## SEE ALSO

al\_acknowledge\_resize(3alleg5)
