Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -2801,7 +2801,11 @@ void Application::update(float deltaTime) { · 2800 unmodified lines | ||
| 2801 | 2801 | bool showWarnings = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings); |
| 2802 | 2802 | PerformanceWarning warn(showWarnings, "Application::update()"); |
| 2803 | 2803 | |
| 2804 | − updateLOD(); | |
| 2804 | + if (DependencyManager::get<LODManager>()->getUseAcuity()) { | |
| 2805 | + updateLOD(); | |
| 2806 | + } else { | |
| 2807 | + DependencyManager::get<LODManager>()->updatePIDRenderDistance(getTargetFrameRate(), getLastInstanteousFps(), deltaTime, isThrottleRendering()); | |
| 2808 | + } | |
| 2805 | 2809 | |
| 2806 | 2810 | { |
| 2807 | 2811 | PerformanceTimer perfTimer("devices"); |