progs/fpglsl: Fix GLSL compilation failures on Mac OS X.
This commit is contained in:
@@ -6,6 +6,6 @@ void main() {
|
|||||||
for (i = 0; i < KernelSizeInt; ++i) {
|
for (i = 0; i < KernelSizeInt; ++i) {
|
||||||
sum.g += 0.25;
|
sum.g += 0.25;
|
||||||
}
|
}
|
||||||
sum.a = 1;
|
sum.a = 1.0;
|
||||||
gl_FragColor = sum;
|
gl_FragColor = sum;
|
||||||
}
|
}
|
||||||
|
@@ -8,6 +8,6 @@ void main() {
|
|||||||
if (i > 0)
|
if (i > 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sum.a = 1;
|
sum.a = 1.0;
|
||||||
gl_FragColor = sum;
|
gl_FragColor = sum;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user