[SDL] SDL_Delay problem on laptop.

Leonid V. Khramov leo at solvo.ru
Thu Apr 3 06:39:01 PST 2003


Hi, All!

I'm writing my second SDL game and i have one strange problem with
SDL_Delay. I use SDL_Delay for generating delays between my frames
(every 5 msec). Everything works well on my Athlon 1200 and Duron 1000
workstations, but when i run my game on my laptop with Celeron 500, i see
that this delay began to work faster. I see that my sprites change each other
at least three times faster that i have on other computers.

What's the problem? Can any guru help me?
Is SDL_Delay machine dependent?


My laptop config:

RedHat Linux 8.0, kernel 2.4.18-14
SDL version 1.2.4
Dell Lattitude CPx Celeron III 500Mhz, 128Mb

Thanks!
-- 
Best regards,
Leo <leo at solvo.ru>
Solvo Ltd. 
St.Petersburg, Russia





More information about the SDL mailing list