Rémy Tassoux
Rémy Tassoux
Frames in flight can improve and stabilize the framerate, but they may also introduce some input lag, because frames are buffered ahead of time. Allowing the user to set just...
This PR is a follow-up to https://github.com/ocornut/imgui/pull/8979#issuecomment-3433295243 It is split into two commits: ### [Use DXGI_SWAP_EFFECT_FLIP_DISCARD instead of DXGI_SWAP_EFFECT_DISCARD](https://github.com/ocornut/imgui/commit/e989b8263fa0d71e5c01b16f001db4dac3c7a4af) Switching to DXGI_SWAP_EFFECT_FLIP_DISCARD is straightforward and requires changing only three lines....
Add optional CheckHrResultFn member to ImGui_ImplDX12_InitInfo for custom error handling, matching Vulkan backend. Also fix a couple of missing error checks. In the example file, I changed CreateDeviceD3D to return...