From: Vinson Lee Date: Fri, 20 Nov 2009 07:56:07 +0000 (-0800) Subject: progs/vpglsl: Fix psiz-mul.glsl compilation error on Mac OS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b98db7bf697c3ed6e6df303e9dd66f7ac31eb3e2;p=mesa.git progs/vpglsl: Fix psiz-mul.glsl compilation error on Mac OS. --- diff --git a/progs/vpglsl/psiz-mul.glsl b/progs/vpglsl/psiz-mul.glsl index 77f4a46b520..d2a90d8578e 100644 --- a/progs/vpglsl/psiz-mul.glsl +++ b/progs/vpglsl/psiz-mul.glsl @@ -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; }