Merge pull request #10375 from Pokechu22/imgui-assert

Externals: Use Common ASSERT for IM_ASSERT
This commit is contained in:
Admiral H. Curtiss
2022-03-26 05:53:59 +01:00
committed by GitHub
4 changed files with 19 additions and 3 deletions

View File

@ -971,6 +971,11 @@ void Renderer::RecordVideoMemory()
bool Renderer::InitializeImGui()
{
if (!IMGUI_CHECKVERSION())
{
PanicAlertFmt("ImGui version check failed");
return false;
}
if (!ImGui::CreateContext())
{
PanicAlertFmt("Creating ImGui context failed");