mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 20:53:50 +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);
|
||||
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…
Reference in a new issue