Added support for GrapicsOpeations that are reused each frame, cleaned up
osgcamera example.
This commit is contained in:
@@ -838,6 +838,9 @@ unsigned int Geometry::getGLObjectSizeHint() const
|
||||
|
||||
void Geometry::drawImplementation(State& state) const
|
||||
{
|
||||
|
||||
// osg::notify(osg::NOTICE)<<"Geometry::drawImplementation"<<std::endl;
|
||||
|
||||
if (_internalOptimizedGeometry.valid())
|
||||
{
|
||||
_internalOptimizedGeometry->drawImplementation(state);
|
||||
|
||||
Reference in New Issue
Block a user