From 8624bb95ba05f633065ab701e1b145e97473ddb6 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 5 Feb 2020 23:32:59 +0100 Subject: [PATCH] Fix double separator in options, if no GPU zones are available. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 2dcb0c54..e70576bf 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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 );