Browse Source

Fixed issue #2696.

Бранимир Караџић 4 years ago
parent
commit
946852cec8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      examples/01-cubes/cubes.cpp
  2. 1 1
      examples/05-instancing/instancing.cpp

+ 1 - 1
examples/01-cubes/cubes.cpp

@@ -265,7 +265,7 @@ public:
 			ImGui::Checkbox("Write A", &m_a);
 			ImGui::Checkbox("Write A", &m_a);
 
 
 			ImGui::Text("Primitive topology:");
 			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();
 			ImGui::End();
 
 

+ 1 - 1
examples/05-instancing/instancing.cpp

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