1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-13 22:48:50 -05:00

Merge pull request #91 from PeterJohnson/fix-warning

Fix compiler warning in implot_demo.cpp
This commit is contained in:
Evan Pezent 2020-08-16 08:21:17 -05:00 committed by GitHub
commit a130aa414f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1012,7 +1012,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();