Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all
Unified · Split
| @@ -234,7 +234,7 @@ void VoxelSystem::render() { · 233 unmodified lines | ||
| 234 | 234 | glPushMatrix(); |
| 235 | 235 | |
| 236 | 236 | double timeSinceLastDraw = usecTimestampNow() - usecTimestamp(&lastBufferCopy); |
| 237 | − if (readVerticesEndPointer != readVerticesArray && timeSinceLastDraw >= 5000 * 1000) { | |
| 237 | + if (readVerticesEndPointer != readVerticesArray && timeSinceLastDraw >= 500 * 1000) { | |
| 238 | 238 | printf("The time since the last draw was %f\n", timeSinceLastDraw); |
| 239 | 239 | // try to lock on the buffer write |
| 240 | 240 | // just avoid pulling new data if it is currently being written |