Removed the enabling of the point smooth mode.

This commit is contained in:
Robert Osfield 2005-04-20 14:51:13 +00:00
parent e2a85f6bc6
commit 6ff535441b

View File

@ -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);