diff options
Diffstat (limited to 'progs/trivial/createwin.c')
-rw-r--r-- | progs/trivial/createwin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/trivial/createwin.c b/progs/trivial/createwin.c index f2cc6f1cffc..93da30ee294 100644 --- a/progs/trivial/createwin.c +++ b/progs/trivial/createwin.c @@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); @@ -116,6 +116,6 @@ int main(int argc, char **argv) glutReshapeFunc(Reshape); glutKeyboardFunc(Key); glutDisplayFunc(Draw); -// glutMainLoop(); + /* glutMainLoop(); */ return 0; } |