From ea29aa24b36ee2e89a84436e6fa443ad5f5a17ef Mon Sep 17 00:00:00 2001 From: ouv Date: Mon, 3 Oct 2005 12:48:28 +0000 Subject: [PATCH] Flag results/geometry added --- resources/Vertex_Program_ARB.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/Vertex_Program_ARB.txt b/resources/Vertex_Program_ARB.txt index cd73e662..22ee582b 100755 --- a/resources/Vertex_Program_ARB.txt +++ b/resources/Vertex_Program_ARB.txt @@ -4,10 +4,11 @@ attribute float attrib1; attribute float attrib2; attribute float attrib3; +attribute bool results; attribute float clamp; attribute float geomSize; -attribute float minSize; attribute float attrib4; +attribute float minSize; attribute float maxSize; attribute float magnification; @@ -80,7 +81,7 @@ void main() gl_FrontColor = gl_Color; float size; - if( geomSize == 0 ) + if( results ) size = ComputePointSize( gl_Color ); else size = geomSize; -- 2.39.2