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
649649 }
650650
651651 // 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);
657653
658654 if (_voxelsUpdated) {
659655 _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