mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Santize LODManager.setWorldQualityDetail() parameter value
This commit is contained in:
parent
95f00e2caa
commit
3bcb305f70
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ void LODManager::setWorldDetailQuality(float quality) {
|
|||
static const float MIN_FPS = 10;
|
||||
static const float LOW = 0.25f;
|
||||
|
||||
bool isLowestValue = quality == LOW;
|
||||
bool isLowestValue = quality <= LOW;
|
||||
bool isHMDMode = qApp->isHMDMode();
|
||||
|
||||
float maxFPS = isHMDMode ? LOD_MAX_LIKELY_HMD_FPS : LOD_MAX_LIKELY_DESKTOP_FPS;
|
||||
|
|
Loading…
Reference in a new issue