Examples: Win32+DX12: removed misleading parameters to RenderPlatformWindowsDefault(): the parameter is ignored by ImGui_ImplDX12_RenderWindow().

This commit is contained in:
ocornut 2024-11-15 16:03:58 +01:00
parent 368123ab06
commit 8082a84903

View File

@ -232,7 +232,7 @@ int main(int, char**)
if (io.ConfigFlags & ImGuiConfigFlags_ViewportsEnable)
{
ImGui::UpdatePlatformWindows();
ImGui::RenderPlatformWindowsDefault(nullptr, (void*)g_pd3dCommandList);
ImGui::RenderPlatformWindowsDefault();
}
// Present