mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-30 03:10:06 +00:00
Comments. Fixed warnings.
This commit is contained in:
parent
d1ea03b872
commit
793773209b
3 changed files with 10 additions and 6 deletions
|
|
@ -11129,6 +11129,8 @@ static void ImGui::ErrorCheckEndFrameSanityChecks()
|
|||
// while still correctly asserting on mid-frame key press events.
|
||||
ImGuiContext& g = *GImGui;
|
||||
const ImGuiKeyChord key_mods = GetMergedModsFromKeys();
|
||||
IM_UNUSED(g);
|
||||
IM_UNUSED(key_mods);
|
||||
IM_ASSERT((key_mods == 0 || g.IO.KeyMods == key_mods) && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods");
|
||||
IM_UNUSED(key_mods);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue