From 8e09468f45d45a77787096151ee81b43f4ae1999 Mon Sep 17 00:00:00 2001 From: elsid Date: Tue, 12 Mar 2019 00:05:55 +0300 Subject: [PATCH] Don't set display list usage for navmesh --- components/sceneutil/detourdebugdraw.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/components/sceneutil/detourdebugdraw.cpp b/components/sceneutil/detourdebugdraw.cpp index 046bbb08c..ea8a4c2f6 100644 --- a/components/sceneutil/detourdebugdraw.cpp +++ b/components/sceneutil/detourdebugdraw.cpp @@ -102,7 +102,6 @@ namespace SceneUtil osg::ref_ptr 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(mVertices->size())));