[host] dxgi: fix HDR content downsampling
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user