Browse Source

Backends: DX12: Changed swapchain scaling mode to `DXGI_SCALING_NONE`. (#7152, #7153)

pull/7184/head
Kai Wang 11 months ago
committed by ocornut
parent
commit
20e1caec85
  1. 2
      backends/imgui_impl_dx12.cpp
  2. 5
      docs/CHANGELOG.txt

2
backends/imgui_impl_dx12.cpp

@ -899,7 +899,7 @@ static void ImGui_ImplDX12_CreateWindow(ImGuiViewport* viewport)
sd1.SampleDesc.Quality = 0;
sd1.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD;
sd1.AlphaMode = DXGI_ALPHA_MODE_UNSPECIFIED;
sd1.Scaling = DXGI_SCALING_STRETCH;
sd1.Scaling = DXGI_SCALING_NONE;
sd1.Stereo = FALSE;
IDXGIFactory4* dxgi_factory = nullptr;

5
docs/CHANGELOG.txt

@ -93,6 +93,11 @@ Other changes:
- Examples: GLFW+Emscripten: Fixed examples not consistently resizing according to host canvas.
(#6751) [@Traveller23, @ypujante]
Docking+Viewports Branch:
- Backends: DX12: Changed swapchain scaling mode to DXGI_SCALING_NONE to reduce artifacts as
queued frames aren't synchronized with platform window resizes. (#7152, #7153) [@SuperWangKai]
-----------------------------------------------------------------------
VERSION 1.90.0 (Released 2023-11-15)

Loading…
Cancel
Save