mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix double separator in options, if no GPU zones are available.
This commit is contained in:
parent
9556878b23
commit
8624bb95ba
@ -7213,11 +7213,11 @@ void View::DrawOptions()
|
||||
m_vd.drawCpuUsageGraph = val;
|
||||
ImGui::Unindent();
|
||||
}
|
||||
ImGui::Separator();
|
||||
|
||||
const auto& gpuData = m_worker.GetGpuData();
|
||||
if( !gpuData.empty() )
|
||||
{
|
||||
ImGui::Separator();
|
||||
val = m_vd.drawGpuZones;
|
||||
#ifdef TRACY_EXTENDED_FONT
|
||||
ImGui::Checkbox( ICON_FA_EYE " Draw GPU zones", &val );
|
||||
|
Loading…
Reference in New Issue
Block a user