1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Define ImVec2 operator+.

This commit is contained in:
Bartosz Taudul
2017-09-18 00:18:36 +02:00
parent bf6cbaefd1
commit 35032413ef
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -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
+1 -1
View File
@@ -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