removing [GPU] tag from source location listing (it does not work as I expected)

This commit is contained in:
Marcos Slomp
2026-09-09 15:17:46 -07:00
parent 9535a39fba
commit e75106a16f

View File

@@ -418,7 +418,7 @@ void View::DrawFindZone()
ImGui::SameLine();
}
const auto fileName = m_worker.GetString( srcloc.file );
ImGui::TextColored( ImVec4( 0.5, 0.5, 0.5, 1 ), "(%s) %s%s", RealToString( zoneCnt ), isGpuLoc ? "[GPU] " : "", LocationToString( fileName, srcloc.line ) );
ImGui::TextColored( ImVec4( 0.5, 0.5, 0.5, 1 ), "(%s) %s", RealToString( zoneCnt ), LocationToString( fileName, srcloc.line ) );
if( ImGui::IsItemHovered() )
{
DrawSourceTooltip( fileName, srcloc.line, srcloc.line );