1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-02-20 20:41:10 +01:00

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

This commit is contained in:
Kai Wang 2023-12-20 17:34:37 +08:00 committed by ocornut
parent 4aa81116a5
commit 20e1caec85
2 changed files with 6 additions and 1 deletions

View File

@ -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;

View File

@ -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)