Skip to content

Commit

Permalink
Merge tag '1.1.2' into develop
Browse files Browse the repository at this point in the history
Fix memory-leaks
  • Loading branch information
ctreffs committed Jan 23, 2020
2 parents 5db5bfb + 75367d8 commit f4fc09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Demos/Minimal/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for n in 0..<20 {
// ImGui::Text("Hello, world!");
ImGuiTextV("Hello, world!")
// ImGui::SliderFloat("float", &f, 0.0f, 1.0f);
ImGuiSliderFloat("float", &f, 0.0, 1.0, nil, 1)
ImGuiSliderFloat("float", &f, 0.0, 1.0, "", 1)
// ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate);
ImGuiTextV("Application average %.3f ms/frame (%.1f FPS)", 1000.0 / io.pointee.Framerate, io.pointee.Framerate)

Expand Down

0 comments on commit f4fc09e

Please sign in to comment.