Scroll to navigation

al_get_display_width(3alleg5) al_get_display_width(3alleg5)

NAME

al_get_display_width - Allegro 5 API

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

al_get_display_height(3alleg5)

Allegro reference manual