From Jordi Torres, removed unused local variables
This commit is contained in:
@@ -570,16 +570,11 @@ void Geometry::setUseVertexBufferObjects(bool flag)
|
||||
DrawElementsList drawElementsList;
|
||||
getDrawElementsList(drawElementsList);
|
||||
|
||||
typedef std::vector<osg::VertexBufferObject*> VertexBufferObjectList;
|
||||
typedef std::vector<osg::ElementBufferObject*> ElementBufferObjectList;
|
||||
|
||||
/*if (_useVertexBufferObjects)*/
|
||||
{
|
||||
if (!arrayList.empty())
|
||||
{
|
||||
|
||||
VertexBufferObjectList vboList;
|
||||
|
||||
osg::ref_ptr<osg::VertexBufferObject> vbo;
|
||||
|
||||
ArrayList::iterator vitr;
|
||||
@@ -604,8 +599,6 @@ void Geometry::setUseVertexBufferObjects(bool flag)
|
||||
|
||||
if (!drawElementsList.empty())
|
||||
{
|
||||
ElementBufferObjectList eboList;
|
||||
|
||||
osg::ref_ptr<osg::ElementBufferObject> ebo;
|
||||
|
||||
DrawElementsList::iterator deitr;
|
||||
|
||||
Reference in New Issue
Block a user