forked from teamnwah/openmw-tes3coop
Set the RigGeometry vertex buffer object usage to GL_DYNAMIC_DRAW
This commit is contained in:
parent
174dd82894
commit
4eb090a8d0
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ RigGeometry::RigGeometry()
|
|||
setUpdateCallback(new UpdateRigBounds);
|
||||
setSupportsDisplayList(false);
|
||||
setUseVertexBufferObjects(true);
|
||||
getOrCreateVertexBufferObject()->setUsage(GL_DYNAMIC_DRAW_ARB);
|
||||
setComputeBoundingBoxCallback(new DummyComputeBoundCallback);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue