al_set_new_display_option

void al_set_new_display_option(int option, int value, int importance)
Introduced in 5.0.0

Set an extra display option, to be used when creating new displays on the calling thread. Display options differ from display flags, and specify some details of the context to be created within the window itself. These mainly have no effect on Allegro itself, but you may want to specify them, for example if you want to use multisampling.

The 'importance' parameter can be either:

The supported options are:

FIXME: document them all in detail

See also: al_set_new_display_flags

Examples: ex_d3d, ex_display_options, ex_draw, ex_expose, ex_font, ex_gldepth, ex_glext, ex_multisample, ex_vsync


Most helpful discussions:

Other recent discussions: