mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Maybe this helps?
This commit is contained in:
parent
727ac38372
commit
6dd26c53a9
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ void PerformanceManager::applyPerformancePreset(PerformanceManager::PerformanceP
|
|||
|
||||
// eval recommended PPI and Scale
|
||||
float recommendedPpiScale = 1.0f;
|
||||
const float RECOMMENDED_PPI[] = { 200.0f, 120.f, 160.f, 250.f};
|
||||
const float RECOMMENDED_PPI[] = { 200.0f, 200.0f, 120.f, 160.f, 250.f};
|
||||
if (!masterDisplay.empty() && masterDisplay.count(platform::keys::display::ppi)) {
|
||||
float ppi = masterDisplay[platform::keys::display::ppi];
|
||||
// only scale if the actual ppi is higher than the recommended ppi
|
||||
|
|
Loading…
Reference in a new issue