Don't set display list usage for navmesh

pull/541/head
elsid 6 years ago
parent 7b1a62fc1d
commit 8e09468f45
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -102,7 +102,6 @@ namespace SceneUtil
osg::ref_ptr<osg::Geometry> geometry(new osg::Geometry);
geometry->setStateSet(stateSet);
geometry->setUseDisplayList(true);
geometry->setVertexArray(mVertices);
geometry->setColorArray(mColors, osg::Array::BIND_PER_VERTEX);
geometry->addPrimitiveSet(new osg::DrawArrays(mMode, 0, static_cast<int>(mVertices->size())));

Loading…
Cancel
Save