al_toggle_display_flag

bool al_toggle_display_flag(ALLEGRO_DISPLAY *display, int flag, bool onoff)
Introduced in 5.0.0

Enable or disable one of the display flags. The flags are the same as for al_set_new_display_flags. The only flags that can be changed after creation are:

Returns true if the driver supports toggling the specified flag else false. You can use al_get_display_flags to query whether the given display property actually changed.

See also: al_set_new_display_flags, al_get_display_flags

Examples: ex_fs_window, ex_noframe


Most helpful discussions:

Other recent discussions: