Skip to content

Commit 05c7546

Browse files
FIX: Please #define IMGUI_DEFINE_MATH_OPERATORS _BEFORE_ including imgui.h
1 parent d88f991 commit 05c7546

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

imnodes.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
// [SECTION] render helpers
77
// [SECTION] API implementation
88

9+
#define IMGUI_DEFINE_MATH_OPERATORS
10+
911
#include "imnodes.h"
1012
#include "imnodes_internal.h"
1113

12-
#define IMGUI_DEFINE_MATH_OPERATORS
1314
#include <imgui_internal.h>
1415

1516
// Check minimum ImGui version

0 commit comments

Comments
 (0)