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)
- Drawing text slows down FPS dramatically
- Just bored... ;)
- 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
Other recent discussions:
- Rotate text with transformations
- "al_put_pixel" not working
- What is the proper procedure for restoring bitmaps on Android?
- Problem with shaders (bitmap not drawn at all).
- Help needed installing agui library
- Text reading and writing fromt/to clipboard
- [OSX 10.9] Audio somehow freezes program a few seconds on exit
- Putting subbitmaps in vectors
- Allegro 5 3D projections
- al_draw_text() Performance Issues