Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed handling only one event per frame in test program.
  • Loading branch information
philippwiesemann committed May 18, 2015
1 parent fcee3e7 commit 1ed86d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testdrawchessboard.c
Expand Up @@ -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;
Expand Down

0 comments on commit 1ed86d2

Please sign in to comment.