Skip to content

Commit

Permalink
Fixed issue #2696.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Dec 26, 2021
1 parent be3cfd1 commit 946852c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/01-cubes/cubes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class ExampleCubes : public entry::AppI
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();

Expand Down
2 changes: 1 addition & 1 deletion examples/05-instancing/instancing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class ExampleInstancing : public entry::AppI
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)
{
Expand Down

0 comments on commit 946852c

Please sign in to comment.