From: ouv Date: Thu, 6 Oct 2005 14:41:38 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: BR-D5-38-2003_D2005-12-10~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d69f83ecd844b72a1b8f8fa914267ada9f84a50e;p=modules%2Fvisu.git *** empty log message *** --- diff --git a/resources/Vertex_Program_ARB.txt b/resources/Vertex_Program_ARB.txt index 22ee582b..3773961e 100755 --- a/resources/Vertex_Program_ARB.txt +++ b/resources/Vertex_Program_ARB.txt @@ -4,7 +4,7 @@ attribute float attrib1; attribute float attrib2; attribute float attrib3; -attribute bool results; +attribute float results; attribute float clamp; attribute float geomSize; attribute float attrib4; @@ -81,7 +81,7 @@ void main() gl_FrontColor = gl_Color; float size; - if( results ) + if( results == 1 ) size = ComputePointSize( gl_Color ); else size = geomSize;