Skip to content

Commit

Permalink
printf %zu test for #3592
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Nov 13, 2020
1 parent 8d8439e commit e7ded35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e7ded35

Please sign in to comment.