mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 02:53:43 +02: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