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

Vinson Lee vlee at kemper.freedesktop.org
Thu Dec 3 17:18:00 PST 2009


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Nov 19 22:46:19 2009 -0800

progs/glsl: Redraw upon keypress.
(cherry picked from commit 881f55236ad85f95745e70f8363726fa3c201f80)

---

 progs/glsl/convolutions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/glsl/convolutions.c b/progs/glsl/convolutions.c
index c2fb76e..350e61b 100644
--- a/progs/glsl/convolutions.c
+++ b/progs/glsl/convolutions.c
@@ -369,7 +369,7 @@ static void keyPress(unsigned char key, int x, int y)
    case 27:
       exit(0);
    default:
-      return;
+      break;
    }
    glutPostRedisplay();
 }



More information about the mesa-commit mailing list