summaryrefslogtreecommitdiffstats
path: root/progs/fpglsl/forbreak.glsl
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-03-11 00:10:26 -0800
committerVinson Lee <[email protected]>2010-03-11 00:10:26 -0800
commit8f7e06ddf646d6ec001a19a4b571595e50ba28b4 (patch)
treef46ad82fbc1fa7496fe516698624dd3af744f18b /progs/fpglsl/forbreak.glsl
parent40adcd611fe6939895c83e6ae945348437b3e7ad (diff)
progs/fpglsl: Fix GLSL compilation failures on Mac OS X.
Diffstat (limited to 'progs/fpglsl/forbreak.glsl')
-rw-r--r--progs/fpglsl/forbreak.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/fpglsl/forbreak.glsl b/progs/fpglsl/forbreak.glsl
index 87669c65758..0b8d957cb04 100644
--- a/progs/fpglsl/forbreak.glsl
+++ b/progs/fpglsl/forbreak.glsl
@@ -8,6 +8,6 @@ void main() {
if (i > 0)
break;
}
- sum.a = 1;
+ sum.a = 1.0;
gl_FragColor = sum;
}