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:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user