phydeaux
2002.08.14, 03:02 AM
Hey everyone,
I noticed in my port to Mac OS X, SDL_GetTicks/SDL_Delay seemed to run faster than on my PC (or slower, maybe, the point was it was a different speed than the PC.) I couldn't find this documented anywhere, so I thought I'd ask you all about it- perhaps my programming is off or something, or I'm not using SDL in the right way.
As an additional, sort of related question, is there a standard UNIX way to sleep? I noticed the nanosleep function, but I don't know if that's available on any MacOS. usleep maybe?
Any responses are appreciated!
p.
I noticed in my port to Mac OS X, SDL_GetTicks/SDL_Delay seemed to run faster than on my PC (or slower, maybe, the point was it was a different speed than the PC.) I couldn't find this documented anywhere, so I thought I'd ask you all about it- perhaps my programming is off or something, or I'm not using SDL in the right way.
As an additional, sort of related question, is there a standard UNIX way to sleep? I noticed the nanosleep function, but I don't know if that's available on any MacOS. usleep maybe?
Any responses are appreciated!
p.