DOKK / manpages / debian 11 / allegro5-doc / al_get_display_format.3alleg5.en
al_get_display_format(3alleg5) al_get_display_format(3alleg5)

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)

Allegro reference manual