diff options
Diffstat (limited to 'progs/fpglsl')
-rw-r--r-- | progs/fpglsl/for.glsl | 2 | ||||
-rw-r--r-- | progs/fpglsl/forbreak.glsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/progs/fpglsl/for.glsl b/progs/fpglsl/for.glsl index 6aa03d6ef4..862ca8bd6c 100644 --- a/progs/fpglsl/for.glsl +++ b/progs/fpglsl/for.glsl @@ -6,6 +6,6 @@ void main() { for (i = 0; i < KernelSizeInt; ++i) { sum.g += 0.25; } - sum.a = 1; + sum.a = 1.0; gl_FragColor = sum; } diff --git a/progs/fpglsl/forbreak.glsl b/progs/fpglsl/forbreak.glsl index 87669c6575..0b8d957cb0 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; } |