Skip to content

Commit 8082a84

Browse files
committed
Examples: Win32+DX12: removed misleading parameters to RenderPlatformWindowsDefault(): the parameter is ignored by ImGui_ImplDX12_RenderWindow().
1 parent 368123a commit 8082a84

File tree

1 file changed

+1
-1
lines changed
  • examples/example_win32_directx12

1 file changed

+1
-1
lines changed

examples/example_win32_directx12/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ int main(int, char**)
232232
if (io.ConfigFlags & ImGuiConfigFlags_ViewportsEnable)
233233
{
234234
ImGui::UpdatePlatformWindows();
235-
ImGui::RenderPlatformWindowsDefault(nullptr, (void*)g_pd3dCommandList);
235+
ImGui::RenderPlatformWindowsDefault();
236236
}
237237

238238
// Present

0 commit comments

Comments
 (0)