summaryrefslogtreecommitdiff
path: root/progs/trivial/readpixels.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/trivial/readpixels.c')
-rw-r--r--progs/trivial/readpixels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/readpixels.c b/progs/trivial/readpixels.c
index 5671618446..b063f17956 100644
--- a/progs/trivial/readpixels.c
+++ b/progs/trivial/readpixels.c
@@ -39,7 +39,7 @@ static void Key(unsigned char key, int x, int y)
case 27:
exit(0);
default:
- return;
+ break;
}
glutPostRedisplay();
}