SDL Digest, Vol 21, Issue 11

sdl-request at wrote:

Ryan wrote:

I wrote:

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.

[>] Brian