Fix Optick not running

This commit is contained in:
Henrique Gemignani Passos Lima 2021-06-29 00:35:55 +03:00
parent 54e81af9ec
commit de4ddcaa9c
1 changed files with 2 additions and 0 deletions

View File

@ -337,6 +337,8 @@ public:
}
void onAppIdle() noexcept {
OPTICK_FRAME("MainThread");
if (!m_deferredProject.empty()) {
hecl::SystemString subPath;
hecl::ProjectRootPath projPath = hecl::SearchForProject(m_deferredProject, subPath);