al_destroy_timer
void al_destroy_timer(ALLEGRO_TIMER *timer)
Introduced in 5.0.0
Uninstall the timer specified. If the timer is started, it will automatically be stopped before uninstallation. It will also automatically unregister the timer with any event queues.
Does nothing if passed the NULL pointer.
See also: al_create_timer
Examples: ex_noframe, ex_ogre3d, ex_threads, ex_threads2, ex_user_events
Most helpful discussions:
- My second game, space invader simplified
- Vivace extra points. Its there a better way of doing this one.
- I'm new
- Key-presses speed-up program
- Multiple threads/displays, Event handling question
- Difficulty compiling on Windows
- Screen is cleared and a new one appears Allegro5 in C?
- KrampusHack 2020: Odd Results With Color Mapping Functions
- Mouse Addon causing program crash
- Rendering A Hot Air Balloon
Other recent discussions:
- Game Crashing and I'm not sure why?
- Mingw do not find Allegro lib
- got a bug in my FULLSCREEN WINDOWED MODE switchout
- Enter charaters/numbers from Keypad
- Weird flex with my Bitmaps on my Screen
- Functions returning NULL pointers when I expect otherwise
- Pixel shader- how do I get the source coordinate?
- Scaling down runtime created bitmaps makes them transparent
- Strange frame skipping
- Problem in Allegro 5.2.4 Timer!