1ALLEGRO_DISPLAY_MODE(3) ALLEGRO_DISPLAY_MODE(3)
2
3
4
6 ALLEGRO_DISPLAY_MODE - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 typedef struct ALLEGRO_DISPLAY_MODE
12
14 Used for fullscreen mode queries. Contains information about a sup‐
15 ported fullscreen modes.
16
17 typedef struct ALLEGRO_DISPLAY_MODE {
18 int width; // Screen width
19 int height; // Screen height
20 int format; // The pixel format of the mode
21 int refresh_rate; // The refresh rate of the mode
22 } ALLEGRO_DISPLAY_MODE;
23
24 The refresh_rate may be zero if unknown.
25
26 For an explanation of what format means, see ALLEGRO_PIXEL_FORMAT(3).
27
29 al_get_display_mode(3)
30
31
32
33Allegro reference manual ALLEGRO_DISPLAY_MODE(3)