mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:04:56 +00:00
Major Vulkan performance improvement
This commit is contained in:
@@ -15,6 +15,13 @@ public:
|
||||
printf("%s %f\n", name, std::chrono::duration_cast<std::chrono::microseconds>(
|
||||
std::chrono::steady_clock::now() - m_start).count() / 1000000.f);
|
||||
}
|
||||
void reportReset(const char* name)
|
||||
{
|
||||
std::chrono::steady_clock::time_point now = std::chrono::steady_clock::now();
|
||||
printf("%s %f\n", name, std::chrono::duration_cast<std::chrono::microseconds>
|
||||
(now - m_start).count() / 1000000.f);
|
||||
m_start = now;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -958,6 +958,7 @@ bool CGameArea::Invalidate(CStateManager* mgr)
|
||||
ClearTokenList();
|
||||
if (mgr)
|
||||
mgr->AreaUnloaded(GetAreaId());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
2
hecl
2
hecl
Submodule hecl updated: 72975a6186...48996c1548
Reference in New Issue
Block a user