Use Rec 2020 colorspace for WCG support even if HDR is off on the host

This commit is contained in:
Cameron Gutman committed 2022-10-13 00:14:10 -05:00
1 parent c55af7fff3
commit 472e8ee92e
15 files changed
+21 -17

No files matched your search

@@ -989,7 +989,7 @@ Exit:
overlayVertexBuffer->Release();
}
int DXVA2Renderer::getDecoderColorspace()
int DXVA2Renderer::getDecoderSdrColorspace()
{
if (m_DeviceQuirks & DXVA2_QUIRK_NO_VP) {
// StretchRect() assumes Rec 601 on Intel and Qualcomm GPUs.