backends/drm: correct color management check for the CTM

This commit is contained in:
Xaver Hugl 2023-11-15 16:49:05 +01:00
parent 12d04f9d86
commit e17af124d4

View file

@ -414,7 +414,7 @@ bool DrmOutput::setChannelFactors(const QVector3D &rgb)
return true; return true;
} }
m_channelFactors = rgb; m_channelFactors = rgb;
if (needsColormanagement()) { if (!needsColormanagement()) {
if (!m_pipeline->activePending()) { if (!m_pipeline->activePending()) {
return false; return false;
} }