
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Hi
My SDL app hogs the CPU unless in a state where I'm waiting for user input. Since I'm using SDL_PollEvent, I
never miss an event, but CPU is at 100% the whole time.
If I put a 100ms delay every pass of the loop, CPU drops to ~25% which is fine.
So....how do I get CPU usage down to the ~25% figure without using a delay in the loop?
This isn't a Windows app, just a console app.
Any help muchly appreciated!
Ed
Support the World Aids Awareness campaign this month with
Yahoo! for Good
_______________________________________________
SDL mailing list
SDL@...
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org