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
server/TracyImGui.hpp Executable file
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

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