1
0
Fork 1
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:
elsid 2019-03-12 00:05:55 +03:00
parent 7b1a62fc1d
commit 8e09468f45
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40

View file

@ -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())));