[SDL] SDL_PollEvent()

Chris Nystrom cnystrom at newio.org
Wed Nov 8 03:08:12 PST 2006


On 11/2/06, pixel fairy <pixelfairy at gmail.com> wrote:
>
> would making it a poll/select call be bad? or just too much work for the
> gain? i like to make light apps, that only hit the cpu when they need to by
> waiting on input until its time to swap buffers.

Have you considered SDL_WaitEvent()?

Chris

-- 
E-Mail: Chris Nystrom <cnystrom at newio.org>
http://www.newio.org/
AIM: nystromchris




More information about the SDL mailing list