From 7fccbd0844da684fe5c03ba2d3f074c399385bf4 Mon Sep 17 00:00:00 2001 From: jasaaved Date: Thu, 2 Apr 2026 17:25:10 -0700 Subject: [PATCH] Fix Window's Auto HDR Detection Windows Auto HDR only engages for DXGI swap chains using 8-bit UNORM formats (BGRA8/RGBA8). The previous default of RGB10_A2 (10-bit) was not recognized by DXGI as eligible SDR content, preventing Auto HDR from activating on D3D11 and D3D12 backends. --- Source/Core/VideoBackends/D3DCommon/SwapChain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/D3DCommon/SwapChain.h b/Source/Core/VideoBackends/D3DCommon/SwapChain.h index 7d489cc002..afe11a6cab 100644 --- a/Source/Core/VideoBackends/D3DCommon/SwapChain.h +++ b/Source/Core/VideoBackends/D3DCommon/SwapChain.h @@ -62,7 +62,7 @@ protected: Microsoft::WRL::ComPtr m_dxgi_factory; Microsoft::WRL::ComPtr m_swap_chain; Microsoft::WRL::ComPtr m_d3d_device; - const AbstractTextureFormat m_texture_format = AbstractTextureFormat::RGB10_A2; + const AbstractTextureFormat m_texture_format = AbstractTextureFormat::BGRA8; const AbstractTextureFormat m_texture_format_hdr = AbstractTextureFormat::RGBA16F; u32 m_width = 1;