Mesa (mesa_7_7_branch): demos/glsl: Add missing break statement to noise test.

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Thu Dec 3 11:20:00 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 592c8522a280898ba7a797923c0e054ac6df038f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=592c8522a280898ba7a797923c0e054ac6df038f

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Nov 11 17:39:58 2009 -0800

demos/glsl: Add missing break statement to noise test.
(cherry picked from commit 7dfea5c0722e9da101805c15b9dd26352816bca9)

---

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

diff --git a/progs/glsl/noise.c b/progs/glsl/noise.c
index fdab263..bb024b5 100644
--- a/progs/glsl/noise.c
+++ b/progs/glsl/noise.c
@@ -119,6 +119,7 @@ Key(unsigned char key, int x, int y)
    case 'a':
       Anim = !Anim;
       glutIdleFunc(Anim ? Idle : NULL);
+      break;
    case 's':
       Slice -= step;
       break;



More information about the mesa-commit mailing list