color-management: make (ext_)srgb aliases for gamma22
This commit is contained in:
parent
48a36a9feb
commit
32db933242
21 changed files with 21 additions and 115 deletions
|
|
@ -86,7 +86,7 @@ impl DamageTracking {
|
|||
}
|
||||
DamageTrackingCmd::SetColor(c) => {
|
||||
let color = parse_color(&c.color);
|
||||
let [r, g, b, a] = color.to_array(TransferFunction::Srgb);
|
||||
let [r, g, b, a] = color.to_array(TransferFunction::Gamma22);
|
||||
tc.send(SetVisualizerColor {
|
||||
self_id: dt,
|
||||
r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue