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

Don't keep two variables to track one thing.

This commit is contained in:
Bartosz Taudul
2020-09-29 17:04:41 +02:00
parent d5b6befda2
commit 44aef7660d
2 changed files with 10 additions and 13 deletions
+1 -2
View File
@@ -844,8 +844,7 @@ private:
bool m_codeTransfer;
short_ptr<GpuCtxData> m_gpuCtxMap[256];
uint64_t m_pendingCallstackPtr = 0;
uint32_t m_pendingCallstackId;
uint32_t m_pendingCallstackId = 0;
int16_t m_pendingSourceLocationPayload = 0;
Vector<uint64_t> m_sourceLocationQueue;
unordered_flat_map<uint64_t, int16_t> m_sourceLocationShrink;