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>
Fri, 20 Nov 2009 07:56:07 +0000 (23:56 -0800)
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;
 }