This commit is contained in:
Nick Fisher
2025-03-19 15:42:33 +08:00
parent 102429e090
commit e73cb9c7d6
9 changed files with 20 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ void RenderLoop::iter()
std::unique_lock<std::mutex> lock(_mutex);
if (_requestFrameRenderCallback)
{
mRenderTicker->render();
mRenderTicker->render(0);
lock.unlock();
this->_requestFrameRenderCallback();
this->_requestFrameRenderCallback = nullptr;