[nostalgia/scene/studio] Fix SceneEditorView to work after switching tabs
This commit is contained in:
parent
e906237d76
commit
b5ee68c90b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user