1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Disable VBOs in RigGeometry while investigating a crash possibly related to commit cda8a88f0d9a9fb5f12e3a3

This commit is contained in:
scrawl 2016-03-11 18:21:55 +01:00
parent aae43dbff5
commit 50b8260a39

View File

@ -71,8 +71,8 @@ RigGeometry::RigGeometry()
setCullCallback(new UpdateRigGeometry);
setUpdateCallback(new UpdateRigBounds);
setSupportsDisplayList(false);
setUseVertexBufferObjects(true);
getOrCreateVertexBufferObject()->setUsage(GL_DYNAMIC_DRAW_ARB);
//setUseVertexBufferObjects(true);
//getOrCreateVertexBufferObject()->setUsage(GL_DYNAMIC_DRAW_ARB);
setComputeBoundingBoxCallback(new DummyComputeBoundCallback);
}