diff options
Diffstat (limited to 'xbmc/rendering/dx/DeviceResources.cpp')
-rw-r--r-- | xbmc/rendering/dx/DeviceResources.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/rendering/dx/DeviceResources.cpp b/xbmc/rendering/dx/DeviceResources.cpp index 96ca0568f8..c479b4b49d 100644 --- a/xbmc/rendering/dx/DeviceResources.cpp +++ b/xbmc/rendering/dx/DeviceResources.cpp @@ -1273,6 +1273,9 @@ void DX::DeviceResources::SetHdrColorSpace(const DXGI_COLOR_SPACE_TYPE colorSpac { m_IsTransferPQ = (colorSpace == DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020); + if (m_IsTransferPQ) + DX::Windowing()->CacheSystemSdrPeakLuminance(); + CLog::LogF(LOGDEBUG, "DXGI SetColorSpace1 success"); } else |