From b5ee68c90b1ce182219b7b5cf31d99970db6f72c Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 9 Dec 2023 23:24:14 -0600 Subject: [PATCH] [nostalgia/scene/studio] Fix SceneEditorView to work after switching tabs --- src/nostalgia/modules/scene/src/studio/sceneeditorview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/modules/scene/src/studio/sceneeditorview.cpp b/src/nostalgia/modules/scene/src/studio/sceneeditorview.cpp index 7344b935..fdfb542a 100644 --- a/src/nostalgia/modules/scene/src/studio/sceneeditorview.cpp +++ b/src/nostalgia/modules/scene/src/studio/sceneeditorview.cpp @@ -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); }