This commit is contained in:
@@ -48,7 +48,7 @@ void WorldEditorView::draw(ox::Size const&targetSz) noexcept {
|
||||
if (m_animateWorld) {
|
||||
auto const wakeUp = m_world.update();
|
||||
if (wakeUp.ok()) {
|
||||
turbine::setRefreshWithin(m_sctx.tctx, wakeUp.value);
|
||||
turbine::requireRefreshWithin(m_sctx.tctx, wakeUp.value);
|
||||
}
|
||||
}
|
||||
ngfx::gl::draw(*m_nctx, m_scale);
|
||||
|
||||
Reference in New Issue
Block a user