From e7ded3558fbcaff30b8fdf4ce6f61dc8a76e594f Mon Sep 17 00:00:00 2001 From: ocornut Date: Fri, 13 Nov 2020 21:22:44 +0100 Subject: [PATCH] printf %zu test for #3592 --- imgui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imgui.cpp b/imgui.cpp index dad7ff7bc2f0..94d2f6b12eb2 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -3889,6 +3889,9 @@ void ImGui::NewFrame() IM_ASSERT(g.CurrentWindow->IsFallbackWindow == true); CallContextHooks(&g, ImGuiContextHookType_NewFramePost); + + printf("%zu\n", (size_t)42); + ImGui::Text("%zu\n", (size_t)42); } // [DEBUG] Item picker tool - start with DebugStartItemPicker() - useful to visually select an item and break into its call-stack.