Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-03-30 02:54:22 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-03-30 02:54:22 +0300
commitcd774b9e961816408cef60c42b4e1a7b35991a4b (patch)
treef1bc0e110ee89d1c3fbd3eef91c85f92cd68dc98 /server/TracyView.hpp
parent48a07bf4f881d880b52b16f6aa6d3144f6c03beb (diff)
Store two entries in zone self time cache.
This accounts for situation when zone information window is open and a tooltip for another zone is displayed.
Diffstat (limited to 'server/TracyView.hpp')
-rw-r--r--server/TracyView.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/TracyView.hpp b/server/TracyView.hpp
index e2544c93..be2595fa 100644
--- a/server/TracyView.hpp
+++ b/server/TracyView.hpp
@@ -477,7 +477,9 @@ private:
struct {
std::pair<const ZoneEvent*, int64_t> zoneSelfTime = { nullptr, 0 };
+ std::pair<const ZoneEvent*, int64_t> zoneSelfTime2 = { nullptr, 0 };
std::pair<const GpuEvent*, int64_t> gpuSelfTime = { nullptr, 0 };
+ std::pair<const GpuEvent*, int64_t> gpuSelfTime2 = { nullptr, 0 };
} m_cache;
};