Fixed issue #2696.

This commit is contained in:
Бранимир Караџић 2021-12-26 09:02:48 -08:00
parent be3cfd1bd9
commit 946852cec8
2 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ public:
ImGui::Checkbox("Write A", &m_a);
ImGui::Text("Primitive topology:");
ImGui::Combo("", (int*)&m_pt, s_ptNames, BX_COUNTOF(s_ptNames) );
ImGui::Combo("##topology", (int*)&m_pt, s_ptNames, BX_COUNTOF(s_ptNames) );
ImGui::End();

View File

@ -180,7 +180,7 @@ public:
ImGui::PopEnabled();
ImGui::Text("Grid Side Size:");
ImGui::SliderInt("", (int*)&m_sideSize, 1, 512);
ImGui::SliderInt("##size", (int*)&m_sideSize, 1, 512);
if (m_lastFrameMissing > 0)
{