SDL timers.
How do I get a timer to run only once instead of repeating. I tried putting SDL_RemoveTimer in the call back but that doesn’t work right.
The SDL API docs say if your callback returns 0 the timer is cancelled, have you tried that?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement