[jasper/world/studio] Update for turbine change
All checks were successful
Build / build (push) Successful in 1m33s
All checks were successful
Build / build (push) Successful in 1m33s
This commit is contained in:
parent
50dbf02ad9
commit
7ed540a583
@ -48,7 +48,7 @@ void WorldEditorView::draw(ox::Size const&targetSz) noexcept {
|
|||||||
if (m_animateWorld) {
|
if (m_animateWorld) {
|
||||||
auto const wakeUp = m_world.update();
|
auto const wakeUp = m_world.update();
|
||||||
if (wakeUp.ok()) {
|
if (wakeUp.ok()) {
|
||||||
turbine::setRefreshWithin(m_sctx.tctx, wakeUp.value);
|
turbine::requireRefreshWithin(m_sctx.tctx, wakeUp.value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ngfx::gl::draw(*m_nctx, m_scale);
|
ngfx::gl::draw(*m_nctx, m_scale);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user