History

drop redraw frequency to 0.5s

Stephen Birarda committed 13 years ago

Commit 3135d501 parent 793ac841 file · +1 −1Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all

Unified · Split

interface/src/VoxelSystem.cpp+1−1
@@ -234,7 +234,7 @@ void VoxelSystem::render() { · 233 unmodified lines
234234 glPushMatrix();
235235
236236 double timeSinceLastDraw = usecTimestampNow() - usecTimestamp(&lastBufferCopy);
237− if (readVerticesEndPointer != readVerticesArray && timeSinceLastDraw >= 5000 * 1000) {
237+ if (readVerticesEndPointer != readVerticesArray && timeSinceLastDraw >= 500 * 1000) {
238238 printf("The time since the last draw was %f\n", timeSinceLastDraw);
239239 // try to lock on the buffer write
240240 // just avoid pulling new data if it is currently being written