SDL timers.

Started by
1 comment, last by Grain 17 years, 10 months ago
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.
Advertisement
The SDL API docs say if your callback returns 0 the timer is cancelled, have you tried that?
Ah, must have missed that. Thanks.

This topic is closed to new replies.

Advertisement