mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +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::SameLine();
|
||||||
ImGui::TextUnformatted( "Location:" );
|
ImGui::TextUnformatted( "Location:" );
|
||||||
ImGui::SameLine();
|
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::SetNextItemWidth( ImGui::CalcTextSize( "Sample" ).x + ImGui::GetTextLineHeight() * 2 );
|
||||||
ImGui::Combo( "##location", &m_statSampleLocation, locationTable );
|
ImGui::Combo( "##location", &m_statSampleLocation, locationTable );
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
Loading…
Reference in New Issue
Block a user