Remove sleep call

This commit is contained in:
2024-01-25 06:40:00 -05:00
parent 2027dd0a84
commit 0e1627b7ee

View File

@@ -361,13 +361,6 @@ namespace fgl::engine
m_renderer.endFrame();
FrameMark;
}
{
ZoneScopedN( "Sleep for sustained fps" );
using namespace std::chrono_literals;
// std::this_thread::sleep_until( new_time + 16.66ms );
std::this_thread::sleep_until( new_time + 16.66ms );
}
}
Device::getInstance().device().waitIdle();