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

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.
This commit is contained in:
Bartosz Taudul
2019-03-30 00:54:22 +01:00
parent 48a07bf4f8
commit cd774b9e96
2 changed files with 14 additions and 2 deletions
+2
View File
@@ -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;
};