Losing Mouse Move Events in OS X

Is there a way to quickly tell is SDL is dropping events from it’s
queue? In my engine, if I look up and turn very fast, every once and a
while the mouse movement will freeze for 1/2 a second; all other times,
it turns perfectly smooth. This could be my code, but it looks good, so
I want to investigate a little into what SDL is doing.

Note that if you do not make fast, rapid turns, it never freezes up. It
seems like the queue is getting full.

There also seems to be no way (in the current docs) to increase the
queue size. Is it hard-coded in the library, or is there a define I
could alter in the code and recompile?

[>] Brian

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?

–ryan.

Indeed. (e.g., “while (SDL_PollEvent(&event))” rather than simply ‘if …’)

-bill!On Tue, Jan 10, 2006 at 04:01:30PM -0500, Ryan C. Gordon 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?