mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Fixing the initial missing UI on retina displays, again
This commit is contained in:
parent
300a879ff4
commit
f833121032
1 changed files with 1 additions and 3 deletions
|
@ -1063,9 +1063,7 @@ void Application::resizeGL() {
|
|||
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
||||
|
||||
auto canvasSize = _glWidget->size();
|
||||
if (canvasSize != offscreenUi->getWindow()->size()) {
|
||||
offscreenUi->resize(canvasSize);
|
||||
}
|
||||
offscreenUi->resize(canvasSize);
|
||||
_glWidget->makeCurrent();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue