slouken
21
Make sure your loop runs:
while( app is running ) {
SDL_Event event;
while(SDL_PollEvent(&event)) {
process the event…
}
do other stuff…
}
This will prevent the event queue from filling up.
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
Any news on applying this?
http://bugzilla.libsdl.org/show_bug.cgi?id=684
I don’t really need it for my other stuff, but it’ll conflict less if
it’s in. :-)–
http://pphaneuf.livejournal.com/
slouken
23
Any news on applying this?
I’ll take a look at it tonight.
See ya!
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC