mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 00:15:35 +00:00
Don't set display list usage for navmesh
This commit is contained in:
parent
7b1a62fc1d
commit
8e09468f45
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ namespace SceneUtil
|
||||||
|
|
||||||
osg::ref_ptr<osg::Geometry> geometry(new osg::Geometry);
|
osg::ref_ptr<osg::Geometry> geometry(new osg::Geometry);
|
||||||
geometry->setStateSet(stateSet);
|
geometry->setStateSet(stateSet);
|
||||||
geometry->setUseDisplayList(true);
|
|
||||||
geometry->setVertexArray(mVertices);
|
geometry->setVertexArray(mVertices);
|
||||||
geometry->setColorArray(mColors, osg::Array::BIND_PER_VERTEX);
|
geometry->setColorArray(mColors, osg::Array::BIND_PER_VERTEX);
|
||||||
geometry->addPrimitiveSet(new osg::DrawArrays(mMode, 0, static_cast<int>(mVertices->size())));
|
geometry->addPrimitiveSet(new osg::DrawArrays(mMode, 0, static_cast<int>(mVertices->size())));
|
||||||
|
|
Loading…
Reference in a new issue