Merge pull request #2248 from elsid/rm_navmesh_explicit_display_list

Don't set display list usage for navmesh
pull/541/head
Bret Curtis 6 years ago committed by GitHub
commit ddcdbccd84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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