From eee065c59fa8d8a31211ef41bf3f890f608f8d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Tue, 2 Feb 2021 19:05:14 -0800 Subject: [PATCH] 45-bokeh: Fixed OSX build. --- examples/45-bokeh/bokeh.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/45-bokeh/bokeh.cpp b/examples/45-bokeh/bokeh.cpp index a134a2d86..905547f75 100644 --- a/examples/45-bokeh/bokeh.cpp +++ b/examples/45-bokeh/bokeh.cpp @@ -583,9 +583,7 @@ public: ++counter; radius += m_radiusScale / radius; } - char buffer[128] = {0}; - bx::snprintf(buffer, 128-1, "number of samples taken: %d", counter); - ImGui::Text(buffer); + ImGui::Text("number of samples taken: %d", counter); if (ImGui::IsItemHovered()) ImGui::SetTooltip("number of sample taps as determined by radiusScale"); }