cm: block DS for scRGB in HDR mode (#13262)
This commit is contained in:
parent
661314e134
commit
0de216e783
1 changed files with 1 additions and 1 deletions
|
|
@ -1819,7 +1819,7 @@ uint16_t CMonitor::isDSBlocked(bool full) {
|
|||
const bool surfaceIsScRGB = surfaceIsHDR && PSURFACE->m_colorManagement->isWindowsScRGB();
|
||||
|
||||
if (needsCM() && (*PNONSHADER != CM_NS_IGNORE || surfaceIsScRGB) && !canNoShaderCM() &&
|
||||
((inHDR() && (*PPASS == 0 || !surfaceIsHDR)) || (!inHDR() && (*PPASS != 1 || surfaceIsHDR))))
|
||||
((inHDR() && (*PPASS == 0 || !surfaceIsHDR || surfaceIsScRGB)) || (!inHDR() && (*PPASS != 1 || surfaceIsHDR))))
|
||||
reasons |= DS_BLOCK_CM;
|
||||
|
||||
return reasons;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue