Browse Source

45-bokeh: Fixed OSX build.

Бранимир Караџић 4 years ago
parent
commit
eee065c59f
1 changed files with 1 additions and 3 deletions
  1. 1 3
      examples/45-bokeh/bokeh.cpp

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