al_get_display_format(3alleg5) Allegro reference manual
NAME
al_get_display_format − Allegro 5 API
SYNOPSIS
#include <allegro5/allegro.h>
int al_get_display_format(ALLEGRO_DISPLAY *display)
DESCRIPTION
Gets the pixel format of the display.
SEE ALSO
ALLEGRO_PIXEL_FORMAT(3alleg5)