progs/fpglsl: Fix GLSL compilation failures on Mac OS X.
authorVinson Lee <vlee@vmware.com>
Thu, 11 Mar 2010 08:10:26 +0000 (00:10 -0800)
committerVinson Lee <vlee@vmware.com>
Thu, 11 Mar 2010 08:10:26 +0000 (00:10 -0800)
progs/fpglsl/for.glsl
progs/fpglsl/forbreak.glsl

index 6aa03d6ef48f2a95608ab9a0ab0cd6910e5f604d..862ca8bd6ccfe9c397febc9a6884e79d0c20dc24 100644 (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;
 }
index 87669c6575802bb25b47cc7bfae7e7fbbf4b4141..0b8d957cb043596103fe4bb6f050ef3cb7f99b1a 100644 (file)
@@ -8,6 +8,6 @@ void main() {
         if (i > 0)
            break;
     }
-    sum.a = 1;
+    sum.a = 1.0;
     gl_FragColor = sum;
 }