core/colorspace: fix the max luminance of linear

It's supposed to match the reference luminance; this is just a remnant of KWin using a
different variant of linear internally

BUG: 494930
wilder/Plasma/6.3
Xaver Hugl 1 year ago
parent a79c2139ae
commit 3a23b2974a
  1. 2
      src/core/colorspace.cpp

@ -549,7 +549,7 @@ double TransferFunction::defaultMaxLuminanceFor(Type type)
case Type::gamma22:
return 80;
case Type::linear:
return 1;
return 80;
case Type::PerceptualQuantizer:
return 10'000;
}

Loading…
Cancel
Save