progs/vpglsl: Fix psiz-mul.glsl compilation error on Mac OS.
authorVinson Lee <vlee@vmware.com>
Fri, 20 Nov 2009 07:56:07 +0000 (23:56 -0800)
committerVinson Lee <vlee@vmware.com>
Thu, 3 Dec 2009 04:28:54 +0000 (20:28 -0800)
(cherry picked from commit b98db7bf697c3ed6e6df303e9dd66f7ac31eb3e2)

progs/vpglsl/psiz-mul.glsl

index 77f4a46b52022995aa6f27ff9df335ee425cab1c..d2a90d8578eede50b9a770656d6eb87ca18d98e9 100644 (file)
@@ -1,6 +1,6 @@
 
 void main() {
     gl_FrontColor = gl_Color;
-    gl_PointSize = 10 * gl_Color.x;
+    gl_PointSize = 10.0 * gl_Color.x;
     gl_Position = gl_Vertex;
 }