[SDL] Screen display not complete

Yu-Sheng, Wang yaushung at gmail.com
Sun Jul 25 23:49:52 PDT 2010

>From: Chris Eineke <libsdl at chriseineke.com>
>Subject: Re: [SDL] Program won't close while event pump is active in 1.3
>Mason Wheeler wrote:
>> This only happens in run mode, when SDL_PumpEvents and SDL_PeekEvents
>> are being called in a loop several times per second.  Otherwise, it
>> closes just fine.  Anyone have any idea what's going on and how I can
>> fix it?
>Could be that the event queue runs full (it's 256 events max) when SDL tries to
>push the event onto it. If that's the case the only fix is to increase the size
>of the queue. And that's a compile-time constant.

No, I'm not coming anywhere near overflowing the SDL event queue.  Good
idea, though.

More information about the SDL mailing list