Showing the changes to interface/src/Application.cpp (1 of 16 files). Show all
Unified · Split
| @@ -2842,8 +2842,10 @@ void Application::displaySide(Camera& whichCamera, bool selfAvatarOnly) { · 2841 unmodified lines | |||
| 2842 | _audioReflector.render(); | 2842 | _audioReflector.render(); |
| 2843 | } | 2843 | } |
| 2844 | 2844 | ||
| 2845 | // Draw voxels | 2845 | _deferredLightingEffect.prepare(); |
| 2846 | bool deferredLightingRequired = false; | 2846 | bool deferredLightingRequired = false; |
| 2847 | |||
| 2848 | // Draw voxels | ||
| 2847 | if (Menu::getInstance()->isOptionChecked(MenuOption::Voxels)) { | 2849 | if (Menu::getInstance()->isOptionChecked(MenuOption::Voxels)) { |
| 2848 | PerformanceTimer perfTimer("voxels"); | 2850 | PerformanceTimer perfTimer("voxels"); |
| 2849 | PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings), | 2851 | PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings), |