Skip to content
Permalink
Browse files

Fixed handling only one event per frame in test program.

  • Loading branch information
philippwiesemann committed May 18, 2015
1 parent fcee3e7 commit 1ed86d22119fd408831f8fe55820e8c109fc1a65
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/testdrawchessboard.c
@@ -59,7 +59,7 @@ void
loop()
{
SDL_Event e;
if (SDL_PollEvent(&e)) {
while (SDL_PollEvent(&e)) {
if (e.type == SDL_QUIT) {
done = 1;
return;

0 comments on commit 1ed86d2

Please sign in to comment.