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

al_get_display_width - Allegro 5 API

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

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

al_get_display_height(3alleg5)

Allegro reference manual