Allegro 5 api
#include <allegro5/allegro.h> int al_get_display_height(ALLEGRO_DISPLAY *display)
Gets the height of the display. This is like SCREEN_H in Allegro 4.x.
al_get_display_width(3alleg5)