Changeset 10621 for OpenSceneGraph/trunk/src/osgUtil/RenderLeaf.cpp
- Timestamp:
- 10/09/09 15:39:11 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgUtil/RenderLeaf.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgUtil/RenderLeaf.cpp
r7328 r10621 55 55 56 56 } 57 57 58 // if we are using osg::Program which requires OSG's generated uniforms to track 59 // modelview and projection matrices then apply them now. 60 state.applyModelViewAndProjectionUniformsIfRequired(); 58 61 59 62 // draw the drawable … … 71 74 state.apply(_parent->getStateSet()); 72 75 76 // if we are using osg::Program which requires OSG's generated uniforms to track 77 // modelview and projection matrices then apply them now. 78 state.applyModelViewAndProjectionUniformsIfRequired(); 79 73 80 // draw the drawable 74 81 _drawable->draw(renderInfo);
