1al_set_display_option(3)                              al_set_display_option(3)
2
3
4

NAME

6       al_set_display_option - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_set_display_option(ALLEGRO_DISPLAY *display, int option, int value)
12

DESCRIPTION

14       Change an option that was previously set for a display.  After displays
15       are created, they take on the options set  with  al_set_new_display_op‐
16       tion(3).    Calling   al_set_new_display_option(3)   subsequently  only
17       changes options for newly created displays, and doesn't touch  the  op‐
18       tions  of  already  created  displays.  al_set_display_option(3) allows
19       changing some of these values.  Not all display options can be  changed
20       or  changing  them  will  have  no effect.  Changing options other than
21       those listed below is undefined.
22
23       · ALLEGRO_SUPPORTED_ORIENTATIONS - This can be changed to allow new  or
24         restrict  previously  enabled orientations of the screen/device.  See
25         al_set_new_display_option(3) for more information on this option.
26

SINCE

28       5.1.5
29

SEE ALSO

31       al_set_new_display_option(3)
32
33
34
35Allegro reference manual                              al_set_display_option(3)
Impressum