diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-09-04 15:56:12 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-09-04 15:56:12 +0300 |
commit | 53632ccb5ba164e0269e4a70cdd736e92e7ae4e8 (patch) | |
tree | 0a79f52193c6cb78164f4a13771a1676b1455a2a /server/TracyView_CpuData.cpp | |
parent | 44efb15df1eb586d27b69bb346e979eb1b45ae0a (diff) |
Cleanup.
Diffstat (limited to 'server/TracyView_CpuData.cpp')
-rw-r--r-- | server/TracyView_CpuData.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/TracyView_CpuData.cpp b/server/TracyView_CpuData.cpp index 3b3bd600..577553c9 100644 --- a/server/TracyView_CpuData.cpp +++ b/server/TracyView_CpuData.cpp @@ -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 |