Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Now the program will process all events and then terminate. :)

  • Loading branch information
slouken committed Feb 23, 2008
1 parent d296ce2 commit 16e0df19608eb22a4c6d0ddf9873e708900787f0
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/testgl.c
@@ -666,8 +666,8 @@ RunGLTest(int argc, char *argv[],
}

/* Check if there's a pending event. */
while (!done && SDL_PollEvent(&event)) {
done = HandleEvent(&event);
while (SDL_PollEvent(&event)) {
done |= HandleEvent(&event);
}
++frames;
}

0 comments on commit 16e0df1

Please sign in to comment.