al_get_display_height
int al_get_display_height(ALLEGRO_DISPLAY *display)
Introduced in 5.0.0
Gets the height of the display. This is like SCREEN_H in Allegro 4.x.
See also: al_get_display_width
Examples: ex_display_options, ex_draw_bitmap, ex_expose, ex_filter, ex_fs_resize, ex_fs_window, ex_native_filechooser, ex_ogre3d, ex_resize2
Most helpful discussions:
- Section of Code Lagging the Program
- linking on ubuntu
- Display Mode removes window controls
- A5 Fullscreen Vs Windowed
- Scaling look likes junk.
- Getting Allegro to Play Nice with Windows Scaling Settings
- help: memory bitmap background image causing artifacts
- al_set_new_window_position / al_get_window_position mismatch
- ak_create_display problem in Android
- Stepping Into the Third Dimension
Other recent discussions:
- Draw to bitmap failing
- Quick Question about MSAA
- scaling low-res screens
- Temporally blocking window resizing.
- Scaling down runtime created bitmaps makes them transparent
- Depth bug (Allegro 5 + Opengl)
- Audio seems overly complicated :(
- Question about ALLEGRO_FULLSCREEN_WINDOW
- Allegro 5 basic game loop
- video & physfs problems in the same file