mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Properly terminate combo table.
This commit is contained in:
parent
0891245b49
commit
917da8cff3
@ -11519,7 +11519,7 @@ void View::DrawStatistics()
|
||||
ImGui::SameLine();
|
||||
ImGui::TextUnformatted( "Location:" );
|
||||
ImGui::SameLine();
|
||||
const char* locationTable = "Entry\0Sample\0Smart";
|
||||
const char* locationTable = "Entry\0Sample\0Smart\0";
|
||||
ImGui::SetNextItemWidth( ImGui::CalcTextSize( "Sample" ).x + ImGui::GetTextLineHeight() * 2 );
|
||||
ImGui::Combo( "##location", &m_statSampleLocation, locationTable );
|
||||
ImGui::Separator();
|
||||
|
Loading…
Reference in New Issue
Block a user