al_get_display_width(3)

al_get_display_width3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
int al_get_display_width(ALLEGRO_DISPLAY *display)

Overview

Gets the width of the display. This is like SCREEN_W in Allegro 4.x.

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