Set the RigGeometry vertex buffer object usage to GL_DYNAMIC_DRAW

move
scrawl 9 years ago
parent 174dd82894
commit 4eb090a8d0

@ -72,6 +72,7 @@ RigGeometry::RigGeometry()
setUpdateCallback(new UpdateRigBounds);
setSupportsDisplayList(false);
setUseVertexBufferObjects(true);
getOrCreateVertexBufferObject()->setUsage(GL_DYNAMIC_DRAW_ARB);
setComputeBoundingBoxCallback(new DummyComputeBoundCallback);
}

Loading…
Cancel
Save