Mesa (mesa_7_6_branch): progs/fp: Redraw upon keypress.

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 5 07:32:44 UTC 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 8d2f3434c5904e28b5e1bccceba7e89a94502ac1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d2f3434c5904e28b5e1bccceba7e89a94502ac1

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Dec  4 23:31:39 2009 -0800

progs/fp: Redraw upon keypress.

---

 progs/fp/tri-inv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/fp/tri-inv.c b/progs/fp/tri-inv.c
index 7e8d8c5..7e490fa 100644
--- a/progs/fp/tri-inv.c
+++ b/progs/fp/tri-inv.c
@@ -56,7 +56,7 @@ static void Key(unsigned char key, int x, int y)
       case 27:
 	exit(1);
       default:
-	return;
+	break;
     }
 
     glutPostRedisplay();




More information about the mesa-commit mailing list