Skip to content

Commit

Permalink
Avoid using 1<<31 for ImGuiWindowFlags_NavFlattened as it seems to co…
Browse files Browse the repository at this point in the history
…nfuse some binding generators.
  • Loading branch information
ocornut committed Jan 13, 2025
1 parent c5f6094 commit c38c18c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui.h
Original file line number Diff line number Diff line change
Expand Up @@ -1099,8 +1099,8 @@ enum ImGuiWindowFlags_

// Obsolete names
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
ImGuiWindowFlags_NavFlattened = 1 << 29, // Obsoleted in 1.90.9: Use ImGuiChildFlags_NavFlattened in BeginChild() call.
ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 30, // Obsoleted in 1.90.0: Use ImGuiChildFlags_AlwaysUseWindowPadding in BeginChild() call.
ImGuiWindowFlags_NavFlattened = 1 << 31, // Obsoleted in 1.90.9: Use ImGuiChildFlags_NavFlattened in BeginChild() call.
#endif
};

Expand Down

0 comments on commit c38c18c

Please sign in to comment.