Hi. I assign texture to some geometry's state set on constructor of hierararchy:
dstate->setTextureAttributeAndModes(0,mTexture, osg::StateAttribute::ON); Do I have to do this on destructor to avoid memory leaks: dstate->removeTextureAttribute(0,osg::StateAttribute::TEXTURE); or not? Because if I dont, then memory goes up.... thanks, ivan
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
