1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
This commit is contained in:
Bartosz Taudul
2022-09-04 14:56:12 +02:00
parent 44efb15df1
commit 53632ccb5b
5 changed files with 1 additions and 16 deletions
-3
View File
@@ -19,12 +19,9 @@ bool View::DrawCpuData( double pxns, int& offset, const ImVec2& wpos, bool hover
const auto w = ImGui::GetContentRegionAvail().x - 1;
const auto ty = ImGui::GetTextLineHeight();
const auto ostep = ty + 1;
const auto nspxdbl = 1.0 / pxns;
const auto nspx = int64_t( nspxdbl );
auto draw = ImGui::GetWindowDrawList();
const auto to = 9.f;
const auto th = ( ty - to ) * sqrt( 3 ) * 0.5;
const auto dpos = wpos + ImVec2( 0.5f, 0.5f );
#ifdef TRACY_NO_STATISTICS