Showing the changes to interface/src/LODManager.cpp (1 of 37 files). Show all
Unified · Split
| @@ -26,14 +26,14 @@ LODManager::LODManager() { · 25 unmodified lines | |||
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | float LODManager::getLODDecreaseFPS() { | 28 | float LODManager::getLODDecreaseFPS() { |
| 29 | if (Application::getInstance()->isHMDMode()) { | 29 | if (qApp->isHMDMode()) { |
| 30 | return getHMDLODDecreaseFPS(); | 30 | return getHMDLODDecreaseFPS(); |
| 31 | } | 31 | } |
| 32 | return getDesktopLODDecreaseFPS(); | 32 | return getDesktopLODDecreaseFPS(); |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | float LODManager::getLODIncreaseFPS() { | 35 | float LODManager::getLODIncreaseFPS() { |
| 36 | if (Application::getInstance()->isHMDMode()) { | 36 | if (qApp->isHMDMode()) { |
| 37 | return getHMDLODIncreaseFPS(); | 37 | return getHMDLODIncreaseFPS(); |
| 38 | } | 38 | } |
| 39 | return getDesktopLODIncreaseFPS(); | 39 | return getDesktopLODIncreaseFPS(); |