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
|
|
@ -97,7 +97,7 @@ impl JayDamageTrackingRequestHandler for JayDamageTracking {
|
|||
req: SetVisualizerColor,
|
||||
_slf: &Rc<Self>,
|
||||
) -> Result<(), Self::Error> {
|
||||
let color = Color::new(TransferFunction::Srgb, req.r, req.g, req.b) * req.a;
|
||||
let color = Color::new(TransferFunction::Gamma22, req.r, req.g, req.b) * req.a;
|
||||
self.client.state.damage_visualizer.set_color(color);
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue