diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp new file mode 100755 index 00000000..053c3e64 --- /dev/null +++ b/server/TracyImGui.hpp @@ -0,0 +1,9 @@ +#ifndef __TRACYIMGUI_HPP__ +#define __TRACYIMGUI_HPP__ + +#include "../imgui/imgui.h" +#include "../imgui/imgui_internal.h" + +ImVec2 operator+( const ImVec2& l, const ImVec2& r ) { return ImVec2( l.x + r.x, l.y + r.y ); } + +#endif diff --git a/server/TracyView.cpp b/server/TracyView.cpp index af8175e0..3446160a 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -11,7 +11,7 @@ #include "../common/TracyProtocol.hpp" #include "../common/TracySystem.hpp" #include "../common/TracyQueue.hpp" -#include "../imgui/imgui.h" +#include "TracyImGui.hpp" #include "TracyView.hpp" namespace tracy