From Mathias Froehlich, "This change eliminate an orphan stats block that sticks somewhere in the
screen stats display."
This commit is contained in:
parent
2c4b60cafc
commit
972e68113d
@ -557,6 +557,9 @@ struct BlockDrawCallback : public virtual osg::Drawable::DrawCallback
|
||||
}
|
||||
}
|
||||
|
||||
osg::DrawArrays* drawArrays = static_cast<osg::DrawArrays*>(geom->getPrimitiveSet(0));
|
||||
drawArrays->setCount(vi);
|
||||
|
||||
drawable->drawImplementation(renderInfo);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user