ATOM-15446 ImGui assert with Editor debug build (#622)

Disable the assert as short term solution. A proper fix will be addressed in ATOM-15495
This commit is contained in:
Vicky
2021-05-10 13:33:51 -07:00
committed by GitHub
parent 33872f9e2c
commit 8044760613
+3 -1
View File
@@ -7118,7 +7118,9 @@ static void ImGui::ErrorCheckEndFrameSanityChecks()
// We silently accommodate for this case by ignoring/ the case where all io.KeyXXX modifiers were released (aka key_mod_flags == 0),
// while still correctly asserting on mid-frame key press events.
const ImGuiKeyModFlags key_mod_flags = GetMergedKeyModFlags();
IM_ASSERT((key_mod_flags == 0 || g.IO.KeyMods == key_mod_flags) && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods");
// [GFX TODO] Commented this line until Atom ImGuiPass is refactored (ATOM-15495).
// IM_ASSERT((key_mod_flags == 0 || g.IO.KeyMods == key_mod_flags) && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods");
IM_UNUSED(key_mod_flags);
// Recover from errors