mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 01:11:18 +00:00
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:
parent
cdc57a0473
commit
3b07928373
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue