Explorar el Código

Merge pull request #217 from Pagghiu/bugfix

Example fix PopStyleVar on Vertical Slider to avoid assertion
omar hace 10 años
padre
commit
cd2ec7868c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      imgui.cpp

+ 1 - 0
imgui.cpp

@@ -10345,6 +10345,7 @@ void ImGui::ShowTestWindow(bool* opened)
                 ImGui::PopID();
             }
             ImGui::PopID();
+            ImGui::PopStyleVar();
 
             ImGui::Indent();
             ImGui::TreePop();