From 25ebe1a9e6790f3115a01e8a02a2341a2578f4d1 Mon Sep 17 00:00:00 2001 From: Christian Treffs Date: Thu, 23 Jan 2020 17:29:21 +0100 Subject: [PATCH] Update Demo --- Sources/Demos/Minimal/main.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Demos/Minimal/main.swift b/Sources/Demos/Minimal/main.swift index c7169eb..62a1324 100644 --- a/Sources/Demos/Minimal/main.swift +++ b/Sources/Demos/Minimal/main.swift @@ -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)