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)
- Section of Code Lagging the Program
- linking on ubuntu
- Problem with al_creat_bitmap
- A5 : timer issue
- Game Lag Windows to Linux - FPS issue?
- Having Trouble with exit(1) - Stalling Program
- Vivace extra points. Its there a better way of doing this one.
- Key-presses speed-up program
- Delay on event queue while on thread
Other recent discussions:
- why is my code failing
- Lag when holding down key.
- Difficulty compiling on Windows
- Screen is cleared and a new one appears Allegro5 in C?
- Same code - slow on Windows, fast on Linux - timer fires too slow?
- How do I completely skip Mouse Axes events?
- Allegro 5 performance
- Allegro 5 crashes when using al_draw_bitmap inside a list container
- Rendering A Hot Air Balloon
- Game Crashing and I'm not sure why?