— Comment #1 from Sam Lantinga 2009-02-16 22:01:35 —
Thanks! I reworked this a little bit and committed it as revision 4438.
One detail I remember I wasn’t sure: maybe SDL_WaitEventTimeout should
return -1 in case of an error, so that it’s possible to distinguish
between timeout and error?
I guess that for SDL_PollEvent, changing this would cause
compatibility problems, but for SDL_WaitEventTimeout, now would be a
good moment to get this right! :-)On Tue, Feb 17, 2009 at 1:01 AM, wrote: