From 3135d50ca933bd359e45bc584cbe90df6e785d13 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 1 Apr 2013 15:08:20 -0700 Subject: [PATCH] drop redraw frequency to 0.5s --- interface/src/VoxelSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/VoxelSystem.cpp b/interface/src/VoxelSystem.cpp index bf973c0e2f..7af432d520 100644 --- a/interface/src/VoxelSystem.cpp +++ b/interface/src/VoxelSystem.cpp @@ -234,7 +234,7 @@ void VoxelSystem::render() { glPushMatrix(); double timeSinceLastDraw = usecTimestampNow() - usecTimestamp(&lastBufferCopy); - if (readVerticesEndPointer != readVerticesArray && timeSinceLastDraw >= 5000 * 1000) { + if (readVerticesEndPointer != readVerticesArray && timeSinceLastDraw >= 500 * 1000) { printf("The time since the last draw was %f\n", timeSinceLastDraw); // try to lock on the buffer write // just avoid pulling new data if it is currently being written