mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 17:23:12 +02:00
fix MSVC formatting
This commit is contained in:
parent
9c8a04ce1e
commit
342d3e80bc
1 changed files with 1 additions and 2 deletions
|
@ -263,8 +263,7 @@ void LODManager::updatePIDRenderDistance(float targetFps, float measuredFps, flo
|
||||||
// goes up, the render cutoff distance gets closer, the number of rendered avatars is less, and frame rate
|
// goes up, the render cutoff distance gets closer, the number of rendered avatars is less, and frame rate
|
||||||
// goes up.
|
// goes up.
|
||||||
distance = 1.0f / _renderDistanceController.update(measuredFps, deltaTime);
|
distance = 1.0f / _renderDistanceController.update(measuredFps, deltaTime);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// Here we choose to just use the maximum render cutoff distance if throttled.
|
// Here we choose to just use the maximum render cutoff distance if throttled.
|
||||||
distance = 1.0f / _renderDistanceController.getControlledValueLowLimit();
|
distance = 1.0f / _renderDistanceController.getControlledValueLowLimit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue