Mesa (lp-binning): progs/demos/gloss: press 'n' to advance by one frame

Brian Paul brianp at kemper.freedesktop.org
Thu Dec 10 13:56:52 PST 2009


Module: Mesa
Branch: lp-binning
Commit: edf11da7f8e2fbe090e60e58c12c6a5ece3089bc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=edf11da7f8e2fbe090e60e58c12c6a5ece3089bc

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec  9 16:23:30 2009 -0700

progs/demos/gloss: press 'n' to advance by one frame

---

 progs/demos/gloss.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/progs/demos/gloss.c b/progs/demos/gloss.c
index 56d48b5..d32e8f8 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);



More information about the mesa-commit mailing list