ALLEGRO_DISPLAY_MODE

typedef struct ALLEGRO_DISPLAY_MODE
Introduced in 5.0.0

Used for display mode queries. Contains information about a supported fullscreen display mode.

typedef struct ALLEGRO_DISPLAY_MODE {
   int width;          // Screen width
   int height;         // Screen height
   int format;         // The pixel format of the mode
   int refresh_rate;   // The refresh rate of the mode
} ALLEGRO_DISPLAY_MODE;

See also: al_get_display_mode

Examples: ex_display_options, ex_monitorinfo


Most helpful discussions:

Other recent discussions: