From 8082a849035ab9de2f9e9821f0ef96ead51b930d Mon Sep 17 00:00:00 2001 From: ocornut Date: Fri, 15 Nov 2024 16:03:58 +0100 Subject: [PATCH] Examples: Win32+DX12: removed misleading parameters to RenderPlatformWindowsDefault(): the parameter is ignored by ImGui_ImplDX12_RenderWindow(). --- examples/example_win32_directx12/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example_win32_directx12/main.cpp b/examples/example_win32_directx12/main.cpp index 4dc7111ce4e4..480c32ee995d 100644 --- a/examples/example_win32_directx12/main.cpp +++ b/examples/example_win32_directx12/main.cpp @@ -232,7 +232,7 @@ int main(int, char**) if (io.ConfigFlags & ImGuiConfigFlags_ViewportsEnable) { ImGui::UpdatePlatformWindows(); - ImGui::RenderPlatformWindowsDefault(nullptr, (void*)g_pd3dCommandList); + ImGui::RenderPlatformWindowsDefault(); } // Present