소스 검색

45-bokeh: Fixed OSX build.

Бранимир Караџић 4 년 전
부모
커밋
eee065c59f
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      examples/45-bokeh/bokeh.cpp

+ 1 - 3
examples/45-bokeh/bokeh.cpp

@@ -583,9 +583,7 @@ public:
 						++counter;
 						++counter;
 						radius += m_radiusScale / radius;
 						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())
 					if (ImGui::IsItemHovered())
 						ImGui::SetTooltip("number of sample taps as determined by radiusScale");
 						ImGui::SetTooltip("number of sample taps as determined by radiusScale");
 				}
 				}