mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 20:58:38 +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 offscreenUi = DependencyManager::get<OffscreenUi>();
|
||||||
|
|
||||||
auto canvasSize = _glWidget->size();
|
auto canvasSize = _glWidget->size();
|
||||||
if (canvasSize != offscreenUi->getWindow()->size()) {
|
offscreenUi->resize(canvasSize);
|
||||||
offscreenUi->resize(canvasSize);
|
|
||||||
}
|
|
||||||
_glWidget->makeCurrent();
|
_glWidget->makeCurrent();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue