Fix an inconsistent numeric constant.

While checking the shaders to see if there might be anything obvious to
work around the current nouveau shader issues, I found a 1 that should have
been a 1.0. I'm surprised it ever compiled.
This commit is contained in:
Bill Currie 2012-04-20 16:30:25 +09:00
parent cdc57a0473
commit 3b07928373

View file

@ -14,6 +14,6 @@ void
main (void)
{
gl_Position = mvp_mat * vec4 (vertex, 1.0);
gl_PointSize = max (1, 1024.0 * abs (1.0 / gl_Position.z));
gl_PointSize = max (1.0, 1024.0 * abs (1.0 / gl_Position.z));
color = vcolor;
}