summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-11 17:39:58 -0800
committerVinson Lee <[email protected]>2009-12-02 20:16:41 -0800
commit592c8522a280898ba7a797923c0e054ac6df038f (patch)
tree5596ceda497ac9d5a46bd1093eb9f22d102e25b8
parent8f4d3613daa5684ff8aba75158ef7585a8005ed0 (diff)
demos/glsl: Add missing break statement to noise test.
(cherry picked from commit 7dfea5c0722e9da101805c15b9dd26352816bca9)
-rw-r--r--progs/glsl/noise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/glsl/noise.c b/progs/glsl/noise.c
index fdab263ea6a..bb024b50121 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;