al_get_display_width(3) al_get_display_width(3)

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(3)

Allegro reference manual