From 4eb090a8d0b7c52cd2c86df2f2f31ee29e1bf635 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 11 Mar 2016 16:09:48 +0100 Subject: [PATCH] Set the RigGeometry vertex buffer object usage to GL_DYNAMIC_DRAW --- components/sceneutil/riggeometry.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/sceneutil/riggeometry.cpp b/components/sceneutil/riggeometry.cpp index 4bdd8275a..fd413acf4 100644 --- a/components/sceneutil/riggeometry.cpp +++ b/components/sceneutil/riggeometry.cpp @@ -72,6 +72,7 @@ RigGeometry::RigGeometry() setUpdateCallback(new UpdateRigBounds); setSupportsDisplayList(false); setUseVertexBufferObjects(true); + getOrCreateVertexBufferObject()->setUsage(GL_DYNAMIC_DRAW_ARB); setComputeBoundingBoxCallback(new DummyComputeBoundCallback); }