[nostalgia/scene/studio] Fix SceneEditorView to work after switching tabs

This commit is contained in:
Gary Talent 2023-12-09 23:24:14 -06:00
parent e906237d76
commit b5ee68c90b

View File

@ -15,7 +15,7 @@ SceneEditorView::SceneEditorView(turbine::Context &tctx, SceneStatic const&scene
}
ox::Error SceneEditorView::setupScene() noexcept {
glutils::resizeInitFrameBuffer(m_frameBuffer, core::gl::drawSize(1));
glutils::resizeInitFrameBuffer(m_frameBuffer, core::gl::drawSize(m_scale));
return m_scene.setupDisplay(*m_cctx);
}