al_get_display_format - Allegro 5 API
#include <allegro5/allegro.h> int al_get_display_format(ALLEGRO_DISPLAY *display)
Gets the pixel format of the display.
ALLEGRO_PIXEL_FORMAT(3alleg5)