Fixing the initial missing UI on retina displays, again

This commit is contained in:
Bradley Austin Davis 2015-06-22 19:55:52 -07:00
parent 300a879ff4
commit f833121032

View file

@ -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();
}