Skip to content

Commit

Permalink
フェード時間が0のときにdraw()だけが呼ばれるよう修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yksake committed Aug 21, 2024
1 parent eda3b92 commit b210b23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Siv3D/include/Siv3D/detail/SceneManager.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ namespace s3d
|| (m_transitionTimeMillisec <= 0))
{
m_current->draw();
return;
}

const double elapsed = m_stopwatch.msF();
Expand Down

0 comments on commit b210b23

Please sign in to comment.