al_unregister_event_source
void al_unregister_event_source(ALLEGRO_EVENT_QUEUE *queue,
ALLEGRO_EVENT_SOURCE *source)
Introduced in 5.0.0
Unregister an event source with an event queue. If the event source is not actually registered with the event queue, nothing happens.
If the queue had any events in it which originated from the event source, they will no longer be in the queue after this call.
See also: al_register_event_source
Examples: ex_native_filechooser
Most helpful discussions:
- al_map_rgb() only works after al_init() contrary to the documentation
- ALLEGRO_EVENT_DISPLAY_SWITCH_OUT
- Program locks on exit (linux only)
- allegro5 video streaming plugin: how to loop without stutter?
- Error Message when program finishes
- Mysterious missing event code
- Drawing onto bitmap crashes when resizing the display
- Characters missing after al_get_text_width()
- How to stop events from being detected?
- Restart program/ resize screen
Other recent discussions: