History

Fixed performance timer scope

David Rowe committed 12 years ago

Commit 97ca6d71 parent 8b04a9c1 file · +7 −5Browse files

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

Unified · Split

interface/src/Application.cpp+7−5
@@ -683,11 +683,13 @@ void Application::paintGL() { · 682 unmodified lines
683 _rearMirrorTools->render(true);683 _rearMirrorTools->render(true);
684 }684 }
685 685
686 PerformanceTimer perfTimer("paintGL/renderOverlay");686 {
687 // PrioVR will only work if renderOverlay is called, calibration is connected to Application::renderingOverlay() 687 PerformanceTimer perfTimer("paintGL/renderOverlay");
688 _applicationOverlay.renderOverlay(true);688 // PrioVR will only work if renderOverlay is called, calibration is connected to Application::renderingOverlay()
689 if (Menu::getInstance()->isOptionChecked(MenuOption::UserInterface)) {689 _applicationOverlay.renderOverlay(true);
690 _applicationOverlay.displayOverlayTexture();690 if (Menu::getInstance()->isOptionChecked(MenuOption::UserInterface)) {
691 _applicationOverlay.displayOverlayTexture();
692 }
691 }693 }
692 }694 }
693 695

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