Showing the changes to interface/src/ui/ApplicationOverlay.cpp (1 of 113 files). Show all
Unified · Split
| @@ -16,6 +16,7 @@ · 15 unmodified lines | ||
| 16 | 16 | #include <PathUtils.h> |
| 17 | 17 | #include <PerfStat.h> |
| 18 | 18 | |
| 19 | +#include "AudioClient.h" | |
| 19 | 20 | #include "audio/AudioIOStatsRenderer.h" |
| 20 | 21 | #include "audio/AudioScope.h" |
| 21 | 22 | #include "audio/AudioToolBox.h" |
| @@ -164,7 +165,7 @@ void ApplicationOverlay::renderOverlay(bool renderToTexture) { · 142 unmodified lines | ||
| 164 | 165 | Overlays& overlays = application->getOverlays(); |
| 165 | 166 | auto glCanvas = DependencyManager::get<GLCanvas>(); |
| 166 | 167 | |
| 167 | − _textureFov = glm::radians(Menu::getInstance()->getOculusUIAngularSize()); | |
| 168 | + _textureFov = glm::radians(_oculusUIAngularSize); | |
| 168 | 169 | _textureAspectRatio = (float)glCanvas->getDeviceWidth() / (float)glCanvas->getDeviceHeight(); |
| 169 | 170 | |
| 170 | 171 | //Handle fading and deactivation/activation of UI |