[email protected]
[Top] [All Lists]

Re: [SDL] Nasty Event delay on debian

Subject: Re: [SDL] Nasty Event delay on debian
From: Jonathan Dearborn
Date: Fri, 13 Nov 2009 18:35:54 -0500
Yeah, you know what they say, "Many eyes makes light reading"...  Or
something like that.

Jonny D

On Fri, Nov 13, 2009 at 6:05 PM, Mason Wheeler <[email protected]> wrote:
> Could you post the code to this minimal application?  That might help
> someone track down the problem...
> ________________________________
> From: apefish <[email protected]>
> To: [email protected]
> Sent: Fri, November 13, 2009 3:01:35 PM
> Subject: Re: [SDL] Nasty Event delay on debian
> Thanks for helping, I managed to find the problem: on Linux, SDL seems to
> generate more mousemotion events (true?), and a bug in my code was causing
> my event loop to bail on the first mousemotion event, so it would get
> through one mousemotion event per frame, which delayed all the other events.
> I feel dumb for that bug.
> Anyways, it works good now but I still have the same problem with OpenGL.
> I've created a pretty minimal application that just draws a triangle at the
> pointer, and the triangle jumps to the mouse every few seconds instead of
> being on it all the time. I don't know whats causing it, but I'll look into
> it and ask further if i find a problem that isn't my fault.
> Thanks again.
> _______________________________________________
> SDL mailing list
> [email protected]
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
[email protected]

<Prev in Thread] Current Thread [Next in Thread>