al_get_current_display

ALLEGRO_DISPLAY *al_get_current_display(void)
Introduced in 5.0.0

Return the display that is "current" for the calling thread, or NULL if there is none.

See also: al_set_target_bitmap

Examples: ex_display_options


Most helpful discussions:

Other recent discussions: