mirror of
https://github.com/gwm17/implot.git
synced 2024-11-13 22:48:50 -05:00
Fix compiler warning in implot_demo.cpp
implot_demo.cpp:1012:69: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
This commit is contained in:
parent
4db63635fb
commit
a5d1f85040
|
@ -1009,7 +1009,7 @@ void ShowDemoWindow(bool* p_open) {
|
|||
static BenchmarkItem items[n_items];
|
||||
ImGui::BulletText("Make sure VSync is disabled.");
|
||||
ImGui::BulletText("%d lines with %d points each @ %.3f FPS.",n_items,1000,ImGui::GetIO().Framerate);
|
||||
ImGui::BulletText("ImDrawIdx: %d-bit", sizeof(ImDrawIdx) * 8);
|
||||
ImGui::BulletText("ImDrawIdx: %d-bit", (int)(sizeof(ImDrawIdx) * 8));
|
||||
ImGui::BulletText("ImGuiBackendFlags_RendererHasVtxOffset: %s", (ImGui::GetIO().BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset) ? "True" : "False");
|
||||
ImGui::BulletText("If you see visual artifacts, do one of the following:");
|
||||
ImGui::Indent();
|
||||
|
|
Loading…
Reference in New Issue
Block a user