1al_get_display_mode(3)                                  al_get_display_mode(3)
2
3
4

NAME

6       al_get_display_mode - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              ALLEGRO_DISPLAY_MODE *al_get_display_mode(int index, ALLEGRO_DISPLAY_MODE *mode)
12

DESCRIPTION

14       Retrieves  a fullscreen mode.  Display parameters should not be changed
15       between  a  call   of   al_get_num_display_modes(3)   and   al_get_dis‐
16       play_mode(3).   index  must  be  between 0 and the number returned from
17       al_get_num_display_modes-1.  mode must  be  an  allocated  ALLEGRO_DIS‐
18       PLAY_MODE  structure.   This  function will return NULL on failure, and
19       the mode parameter that was passed in on success.
20

SEE ALSO

22       ALLEGRO_DISPLAY_MODE(3), al_get_num_display_modes(3)
23
24
25
26Allegro reference manual                                al_get_display_mode(3)
Impressum