Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all
Unified · Split
| @@ -649,11 +649,7 @@ void VoxelSystem::setupNewVoxelsForDrawing() { · 648 unmodified lines | ||
| 649 | 649 | } |
| 650 | 650 | |
| 651 | 651 | // lock on the buffer write lock so we can't modify the data when the GPU is reading it |
| 652 | − { | |
| 653 | − PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings), | |
| 654 | − "setupNewVoxelsForDrawing()... pthread_mutex_lock(&_bufferWriteLock)"); | |
| 655 | − pthread_mutex_lock(&_bufferWriteLock); | |
| 656 | − } | |
| 652 | + pthread_mutex_lock(&_bufferWriteLock); | |
| 657 | 653 | |
| 658 | 654 | if (_voxelsUpdated) { |
| 659 | 655 | _voxelsDirty=true; |