al_get_display_format

int al_get_display_format(ALLEGRO_DISPLAY *display)
Introduced in 5.0.0

Gets the pixel format of the display.

See also: ALLEGRO_PIXEL_FORMAT

Examples: ex_blend_test, ex_pixelformat


Most helpful discussions: