From aa80ec3497d58549df7a764846e78c319f3c2c73 Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Mon, 7 Oct 2013 19:46:52 -0700 Subject: [PATCH] cleanup code for PR --- interface/src/VoxelSystem.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/interface/src/VoxelSystem.cpp b/interface/src/VoxelSystem.cpp index 087662d92a..24ca83b8a3 100644 --- a/interface/src/VoxelSystem.cpp +++ b/interface/src/VoxelSystem.cpp @@ -649,11 +649,7 @@ void VoxelSystem::setupNewVoxelsForDrawing() { } // lock on the buffer write lock so we can't modify the data when the GPU is reading it - { - PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings), - "setupNewVoxelsForDrawing()... pthread_mutex_lock(&_bufferWriteLock)"); - pthread_mutex_lock(&_bufferWriteLock); - } + pthread_mutex_lock(&_bufferWriteLock); if (_voxelsUpdated) { _voxelsDirty=true;