forked from mirror/openmw-tes3mp
Set the MorphGeometry vertex buffer object usage to GL_DYNAMIC_DRAW
This commit is contained in:
parent
4eb090a8d0
commit
aae43dbff5
1 changed files with 2 additions and 0 deletions
|
@ -1103,6 +1103,8 @@ namespace NifOsg
|
|||
|
||||
morphGeom->setUpdateCallback(NULL);
|
||||
morphGeom->setCullCallback(new UpdateMorphGeometry);
|
||||
morphGeom->setUseVertexBufferObjects(true);
|
||||
morphGeom->getOrCreateVertexBufferObject()->setUsage(GL_DYNAMIC_DRAW_ARB);
|
||||
|
||||
triShapeToGeometry(triShape, morphGeom, parentNode, composite, boundTextures, animflags);
|
||||
|
||||
|
|
Loading…
Reference in a new issue