The attached program (a slightly modified version of Jakob Thomsen’s
WaveGL.c) puts a shell around SDL_GetTicks to check for time going
backwards,
like this:
If you use the supplied Uint32 type then you should almost never see
time going “backwards” on any system:
Uint32 ticks = SDL_GetTicks();--
Scott Lahteine <@Scott_Lahteine>
“No universe is perfect which leaves no room for improvement.”
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: text/enriched
Size: 465 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20021224/dc198c87/attachment.bin