Skip to content

Commit

Permalink
Examples: Win32+DX12: removed misleading parameters to RenderPlatform…
Browse files Browse the repository at this point in the history
…WindowsDefault(): the parameter is ignored by ImGui_ImplDX12_RenderWindow().
  • Loading branch information
ocornut committed Nov 15, 2024
1 parent 368123a commit 8082a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/example_win32_directx12/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ int main(int, char**)
if (io.ConfigFlags & ImGuiConfigFlags_ViewportsEnable)
{
ImGui::UpdatePlatformWindows();
ImGui::RenderPlatformWindowsDefault(nullptr, (void*)g_pd3dCommandList);
ImGui::RenderPlatformWindowsDefault();
}

// Present
Expand Down

0 comments on commit 8082a84

Please sign in to comment.