From 95a309ec91ad3ca793c7064f730d1c0e580202ab Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 16 Dec 2005 08:04:23 +0000 Subject: [PATCH] Improve calculation of the point sizes --- resources/Vertex_Program_ARB.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/Vertex_Program_ARB.txt b/resources/Vertex_Program_ARB.txt index e9e7cde0..ce6147ff 100755 --- a/resources/Vertex_Program_ARB.txt +++ b/resources/Vertex_Program_ARB.txt @@ -17,5 +17,5 @@ void main() else // Geometry and Uniform colored outside cursor size = geomSize; - gl_PointSize = clamp( magnification * size * gl_ProjectionMatrix[0].x, 2, clampSize ); + gl_PointSize = clamp( magnification * size * gl_ProjectionMatrix[1].y, 2.0, clampSize ); } -- 2.39.2