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:
- Hidden Message Box (native dialogs) (1)
- Allegro color bitmap
- al_set_new_window_position / al_get_window_position mismatch
- Allegro 5 crashes when using al_draw_bitmap inside a list container
- al_set_target_bitmap on windows performace
- Stepping Into the Third Dimension
- How can i solve it?(draw_bitmap)
- [Allegro5] Popup menu fails to display
- Drawing text slows down FPS dramatically
- Just bored... ;)
Other recent discussions:
- Ludum Dare thread.
- al_destroy_display and cleaning up static memory
- Crash in al_set_target_bitmap
- Control Collision
- AGUI Help: Can't load font
- General questions about Allegro mechanics
- [A5] Fullscreen + keep 4:3 ratio
- Rotate text with transformations
- "al_put_pixel" not working
- What is the proper procedure for restoring bitmaps on Android?