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:
- 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
- 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
Other recent discussions:
- 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
- Input routine works, then does not
- [A5] How to implement smooth tile based movement
- Functions returning NULL pointers when I expect otherwise
- Need help with structs
- Client-side decorations