Merge pull request #5189 from jherico/retina_fix_459

Fixing the initial missing UI on retina displays, again
This commit is contained in:
Brad Hefta-Gaub 2015-06-22 20:26:37 -07:00
commit be34b3c475

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