Provided by: allegro5-doc_5.2.9.1+dfsg-1.1build4_all bug

NAME

       al_set_display_option - Allegro 5 API

SYNOPSIS

              #include <allegro5/allegro.h>

              void al_set_display_option(ALLEGRO_DISPLAY *display, int option, int value)

DESCRIPTION

       Change an option that was previously set for a display.  After displays are created, they take on the op‐
       tions  set  with  al_set_new_display_option(3alleg5).   Calling al_set_new_display_option(3alleg5) subse‐
       quently only changes options for newly created displays, and doesn’t touch the options of already created
       displays.  al_set_display_option(3alleg5) allows changing some of these values.  Not all display  options
       can  be  changed or changing them will have no effect.  Changing options other than those listed below is
       undefined.

       • ALLEGRO_SUPPORTED_ORIENTATIONS - This can be changed to allow new or restrict previously enabled orien‐
         tations of the screen/device.  See al_set_new_display_option(3alleg5) for more information on this  op‐
         tion.

SINCE

       5.1.5

SEE ALSO

       al_set_new_display_option(3alleg5)

Allegro reference manual                                                          al_set_display_option(3alleg5)