Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all
Unified · Split
| @@ -897,6 +897,9 @@ void Application::paintGL() { · 896 unmodified lines | ||
| 897 | 897 | PerformanceTimer perfTimer("renderOverlay"); |
| 898 | 898 | |
| 899 | 899 | // NOTE: There is no batch associated with this renderArgs |
| 900 | + // the ApplicationOverlay class assumes it's viewport is setup to be the device size | |
| 901 | + QSize size = qApp->getDeviceSize(); | |
| 902 | + renderArgs._viewport = glm::ivec4(0, 0, size.width(), size.height()); | |
| 900 | 903 | _applicationOverlay.renderOverlay(&renderArgs); |
| 901 | 904 | } |
| 902 | 905 | |