diff --git a/profiler/src/profiler/TracyView_Compare.cpp b/profiler/src/profiler/TracyView_Compare.cpp index f90318b2..66526e38 100644 --- a/profiler/src/profiler/TracyView_Compare.cpp +++ b/profiler/src/profiler/TracyView_Compare.cpp @@ -1551,6 +1551,14 @@ void View::DrawCompare() } } } + else + { + ImGui::PushFont( g_fonts.normal, FontBig ); + ImGui::Dummy( ImVec2( 0, ( ImGui::GetContentRegionAvail().y - ImGui::GetTextLineHeight() * 2 ) * 0.5f ) ); + TextCentered( ICON_FA_FROG ); + TextCentered( "No data to compare" ); + ImGui::PopFont(); + } } ImGui::EndChild();