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)