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"); }