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
683683 _rearMirrorTools->render(true);
684684 }
685685
686− PerformanceTimer perfTimer("paintGL/renderOverlay");
687− // PrioVR will only work if renderOverlay is called, calibration is connected to Application::renderingOverlay()
688− _applicationOverlay.renderOverlay(true);
689− if (Menu::getInstance()->isOptionChecked(MenuOption::UserInterface)) {
690− _applicationOverlay.displayOverlayTexture();
686+ {
687+ PerformanceTimer perfTimer("paintGL/renderOverlay");
688+ // PrioVR will only work if renderOverlay is called, calibration is connected to Application::renderingOverlay()
689+ _applicationOverlay.renderOverlay(true);
690+ if (Menu::getInstance()->isOptionChecked(MenuOption::UserInterface)) {
691+ _applicationOverlay.displayOverlayTexture();
692+ }
691693 }
692694 }
693695

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