[SDL] High cpu usage
Lilith Calbridge
lilith at dcccd.edu
Mon Jul 9 15:14:56 PDT 2007
Are you trying to manage framerate? Or are you just plowing ahead at
whatever speed the OS allows you?
--
Lilith
>>> On 7/9/2007 at 5:08 PM, "Adam Stevenson"
<adamstevenson121 at gmail.com> wrote:
> My game uses 100% of cpu, and I was was wondering how can I lower it.
The
> game isn't complex. My main loop looks like this:
>
> while(tskmgr->running)
> {
> tskmgr->update();
> tskmgr->draw();
> }
>
> thanks,
More information about the SDL
mailing list