al_destroy_event_queue
void al_destroy_event_queue(ALLEGRO_EVENT_QUEUE *queue)
Introduced in 5.0.0
Destroy the event queue specified. All event sources currently registered with the queue will be automatically unregistered before the queue is destroyed.
See also: al_create_event_queue, ALLEGRO_EVENT_QUEUE
Examples: ex_bitmap_target, ex_blend, ex_blit, ex_clip, ex_curl, ex_disable_screensaver, ex_draw, ex_expose, ex_font, ex_fs_resize, ex_fs_window, ex_glext, ex_iphone, ex_lines, ex_membmp, ex_mixer_pp, ex_mouse_events, ex_native_filechooser, ex_noframe, ex_ogre3d, ex_opengl, ex_physfs, ex_saw, ex_stream_file, ex_subbitmap, ex_threads, ex_threads2, ex_timer, ex_user_events, ex_vsync, ex_warp_mouse, ex_windows, ex_winfull
Most helpful discussions:
- Having Trouble with exit(1) - Stalling Program
- My second game, space invader simplified
- Vivace extra points. Its there a better way of doing this one.
- I'm new
- al_map_rgb() only works after al_init() contrary to the documentation
- Key-presses speed-up program
- Program locks on exit (linux only)
- Keyboard Modifiers flag on Windows?
- Multiple threads/displays, Event handling question
- Difficulty compiling on Windows
Other recent discussions:
- Screen is cleared and a new one appears Allegro5 in C?
- A little bit of fun for family and friends
- KrampusHack 2020: Odd Results With Color Mapping Functions
- Mouse Addon causing program crash
- 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?
- got a bug in my FULLSCREEN WINDOWED MODE switchout
- Enter charaters/numbers from Keypad
- Weird flex with my Bitmaps on my Screen