From 6ff535441b6a94d5ad28347d5520ac5fc71107a2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 20 Apr 2005 14:51:13 +0000 Subject: [PATCH] Removed the enabling of the point smooth mode. --- examples/osgpointsprite/osgpointsprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgpointsprite/osgpointsprite.cpp b/examples/osgpointsprite/osgpointsprite.cpp index f1cfea552..e825c31d4 100755 --- a/examples/osgpointsprite/osgpointsprite.cpp +++ b/examples/osgpointsprite/osgpointsprite.cpp @@ -59,7 +59,7 @@ osg::StateSet* makeStateSet(float size) /// Give some size to the points to be able to see the sprite osg::Point *point = new osg::Point(); point->setSize(size); - set->setAttributeAndModes(point, osg::StateAttribute::ON); + set->setAttribute(point); /// Disable depth test to avoid sort problems and Lighting set->setMode(GL_DEPTH_TEST, osg::StateAttribute::OFF);