progs/fpglsl: Fix GLSL compilation failures on Mac OS X.

This commit is contained in:
Vinson Lee
2010-03-11 00:10:26 -08:00
parent 40adcd611f
commit 8f7e06ddf6
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -8,6 +8,6 @@ void main() {
if (i > 0)
break;
}
sum.a = 1;
sum.a = 1.0;
gl_FragColor = sum;
}