summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-09 16:23:30 -0700
committerBrian Paul <brianp@vmware.com>2009-12-09 16:23:30 -0700
commitedf11da7f8e2fbe090e60e58c12c6a5ece3089bc (patch)
tree0dfb64f799b474809010128c94dd9330d76f36f2
parent3bee8c2e7c17893f91f6b62e2db090ef495dca9d (diff)
progs/demos/gloss: press 'n' to advance by one frame
-rw-r--r--progs/demos/gloss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/demos/gloss.c b/progs/demos/gloss.c
index 56d48b5a9e..d32e8f8c68 100644
--- a/progs/demos/gloss.c
+++ b/progs/demos/gloss.c
@@ -215,6 +215,9 @@ static void Key( unsigned char key, int x, int y )
case ' ':
ToggleAnimate();
break;
+ case 'n':
+ Idle();
+ break;
case 27:
glutDestroyWindow(Win);
exit(0);