mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
cleanup code for PR
This commit is contained in:
parent
54364a235d
commit
aa80ec3497
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue