mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-24 02:14:22 +00:00
This commit is contained in:
parent
64d910ad37
commit
422902dbda
10 changed files with 12 additions and 21 deletions
|
|
@ -1110,7 +1110,7 @@ ImGuiIO::ImGuiIO()
|
|||
{
|
||||
// Most fields are initialized with zero
|
||||
memset(this, 0, sizeof(*this));
|
||||
IM_ASSERT(IM_ARRAYSIZE(ImGuiIO::MouseDown) == ImGuiMouseButton_COUNT && IM_ARRAYSIZE(ImGuiIO::MouseClicked) == ImGuiMouseButton_COUNT); // Our pre-C++11 IM_STATIC_ASSERT() macros triggers warning on modern compilers so we don't use it here.
|
||||
IM_STATIC_ASSERT(IM_ARRAYSIZE(ImGuiIO::MouseDown) == ImGuiMouseButton_COUNT && IM_ARRAYSIZE(ImGuiIO::MouseClicked) == ImGuiMouseButton_COUNT);
|
||||
|
||||
// Settings
|
||||
ConfigFlags = ImGuiConfigFlags_None;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue