The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.
SDL
Simple Directmedia Layer Forums
Re: SDL Digest, Vol 21, Issue 11
ggadwa at charter.net
Guest
Posted: Wed Jan 11, 2006 10:01 pm
sdl-request at libsdl.org wrote:
Ryan wrote:
Quote:
I wrote:
Quote:
Note that if you do not make fast, rapid turns, it never freezes up. It
*seems* like the queue is getting full.
Never had this problem...are you reading the whole queue every frame?
Yes, I while loop until the event queue is empty, at least every
frame. The faster I turn, the more likely this is to happen. The
slower I turn, the less likely. I'll do some more experimenting tonight
and see what I can come up with. Thanks for answering this, I'll
refocus on a couple other places.