1ALLEGRO_DISPLAY_MODE(3) Library Functions Manual ALLEGRO_DISPLAY_MODE(3)
2
3
4
6 ALLEGRO_DISPLAY_MODE
7
9 #include <allegro5/allegro.h>
10
11 typedef struct ALLEGRO_DISPLAY_MODE
12
14 Used for display mode queries. Contains information about a supported
15 fullscreen display mode.
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
25 al_get_display_mode(3)
26
27
28
29Allegro reference manual ALLEGRO_DISPLAY_MODE(3)