summaryrefslogtreecommitdiffstats
path: root/progs/trivial/trifan-flat-unfilled-clip.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-19 13:03:12 -0800
committerVinson Lee <[email protected]>2009-12-03 17:25:00 -0800
commit34a0b22a741a136687e4feb7216595bf0f8445cb (patch)
tree3571436a310487ab66eab0c8604b630c88830e27 /progs/trivial/trifan-flat-unfilled-clip.c
parent9e29242331335796c8eeb3d669111844161067f8 (diff)
progs/trivial: Redraw upon keypress.
(cherry picked from commit 3790c6a13b86dfe0afd4bb0bf9a4d9f4b429cfd8)
Diffstat (limited to 'progs/trivial/trifan-flat-unfilled-clip.c')
-rw-r--r--progs/trivial/trifan-flat-unfilled-clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/trifan-flat-unfilled-clip.c b/progs/trivial/trifan-flat-unfilled-clip.c
index ea3e1553872..3a1a226e546 100644
--- a/progs/trivial/trifan-flat-unfilled-clip.c
+++ b/progs/trivial/trifan-flat-unfilled-clip.c
@@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
- return;
+ break;
}
glutPostRedisplay();