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:
- Display Mode removes window controls
- Allegro 5 performance
- Weird flex with my Bitmaps on my Screen
- Question regarding header files
- switch FULLSCREEN on and off
- Allegro Wiki A5 Tutorial error or really odd laptop?
- A strange error everytime my proggy ends...
- Drawing text slows down FPS dramatically
- Does al_set_new_display_adapter affect al_get_display_mode?
- al_draw_bitmap_region does not return
Other recent discussions:
- Can't enumerate fullscreen modes before a display is created
- weird mouse issue
- ALLEGRO_RESIZABLE & Mouse Pointer Collision Detection
- Strange lags in really simple project
- al_draw_filled_rectangle v. slow compared to al_draw_filled_rectangle
- A5 setting color depth problem (Linux)
- Fullscreen
- Trying Allegro, can't get to compile with CodeBlocks!
- Extreme slow down on Windows
- Fullscreen on Mac OSX Mountain Lion not working