al_is_event_queue_empty
bool al_is_event_queue_empty(ALLEGRO_EVENT_QUEUE *queue)
Introduced in 5.0.0
Return true if the event queue specified is currently empty.
See also: al_get_next_event, al_peek_next_event
Examples: ex_bitmap, ex_bitmap_flip, ex_bitmap_target, ex_blend, ex_blit, ex_clip, ex_display_options, ex_draw, ex_draw_bitmap, ex_dualies, ex_filter, ex_fs_resize, ex_gldepth, ex_glext, ex_haiku, ex_joystick_events, ex_logo, ex_mixer_pp, ex_mouse_events, ex_multisample, ex_multiwin, ex_native_filechooser, ex_ogre3d, ex_opengl, ex_premulalpha, ex_resize2, ex_subbitmap, ex_threads, ex_threads2, ex_transform, ex_ttf, ex_warp_mouse, ex_winfull
Most helpful discussions:
- [A5] event queue & timing problems (1)
- Cannot exit fullscreen with ALLEGRO_OPENGL flag
- Redrawing smoothly while display is being resized
- Blacking out the display while resizing
- KrampusHack 2016
- Bitmap behind mappy map
- Statically link Allegro 5 in Ubuntu?
- Change adapter un runtime
- Complications when drawing FPS
- Keyboard event queue not really empty when it should be
Other recent discussions:
- Keyboard input while rendering?
- Advice for game loops with lengthy computations
- Font loading crashing with Allegro 5.2
- Inconstistent joystick event delay
- ALLEGRO 5.2, ERROR TO LOAD IMAGE!
- Performance issue regarding al_put_pixel and raycasting
- [A5] Anyone have problems with multiple keys being held down?
- Wrapping up code in functions
- Buggy shift key behavior with numpad
- Stuttering issues on console applications?