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

Add callstack samples drawing option.

This commit is contained in:
Bartosz Taudul
2020-02-22 17:35:29 +01:00
parent 597911e5a8
commit b425374cb7
3 changed files with 12 additions and 1 deletions
+8
View File
@@ -7265,6 +7265,14 @@ void View::DrawOptions()
#endif
m_vd.drawCpuUsageGraph = val;
ImGui::Unindent();
val = m_vd.drawSamples;
#ifdef TRACY_EXTENDED_FONT
ImGui::Checkbox( ICON_FA_EYE_DROPPER " Draw stack samples", &val );
#else
ImGui::Checkbox( "Draw stack samples", &val );
#endif
m_vd.drawSamples = val;
}
const auto& gpuData = m_worker.GetGpuData();