[host] dxgi: fix HDR content downsampling

This commit is contained in:
Geoffrey McRae committed 2023-11-10 06:28:05 +11:00
1 parent 561c45bcb9
commit 09b6fee360
4 files changed
+49 -15

No files matched your search

@@ -171,7 +171,7 @@ static bool downsample_configure(void * opaque,
.SampleDesc.Count = 1,
.SampleDesc.Quality = 0,
.Usage = D3D11_USAGE_DEFAULT,
.Format = DXGI_FORMAT_B8G8R8A8_UNORM,
.Format = getDXGIFormat(*format),
.BindFlags = D3D11_BIND_RENDER_TARGET |
D3D11_BIND_SHADER_RESOURCE,
.CPUAccessFlags = 0,