History

cleanup code for PR

ZappoMan committed 13 years ago

Commit aa80ec31 parent 54364a21 file · +1 −5Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t