Hello !
> A bit more code re-organising and using a delay in some major
> animation work has got CPU usage down to
> 30% and made the system more stable and, it seems, the animation is
> much smoother.
The problem is that the more CPU cycles your app eats, the
less CPU cycles are there for your app/game/programm.
Maybe you don't need to use SDL_Delay with a delay that
high, have you tested it with SDL_Delay(1) or SDL_Delay (10) ?
But the best thing indeed is to look at the actual frames,
if you would possibly get 80 FPS and need only 60 FPS
then give the 20FPS free with SDL_Delay.
CU
_______________________________________________
SDL mailing list
SDL@...
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org