cleanup code for PR

This commit is contained in:
ZappoMan 2013-10-07 19:46:52 -07:00
parent 54364a235d
commit aa80ec3497

View file

@ -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 // lock on the buffer write lock so we can't modify the data when the GPU is reading it
{ pthread_mutex_lock(&_bufferWriteLock);
PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings),
"setupNewVoxelsForDrawing()... pthread_mutex_lock(&_bufferWriteLock)");
pthread_mutex_lock(&_bufferWriteLock);
}
if (_voxelsUpdated) { if (_voxelsUpdated) {
_voxelsDirty=true; _voxelsDirty=true;