Changeset 4805 for OpenSceneGraph/trunk/examples/osglogo/osglogo.cpp
- Timestamp:
- 11/17/05 21:22:55 (8 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/examples/osglogo/osglogo.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osglogo/osglogo.cpp
r4713 r4805 213 213 if (image) 214 214 { 215 osg::Texture2D* texture = new osg::Texture2D;216 texture->setImage(image);217 texture->setMaxAnisotropy(8);218 stateset->setTextureAttributeAndModes(0,texture,osg::StateAttribute::ON);215 osg::Texture2D* texture = new osg::Texture2D; 216 texture->setImage(image); 217 texture->setMaxAnisotropy(8); 218 stateset->setTextureAttributeAndModes(0,texture,osg::StateAttribute::ON); 219 219 } 220 220
