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
|
|
@ -32,7 +32,7 @@ impl TestSinglePixelBufferManager {
|
|||
destroyed: Cell::new(false),
|
||||
});
|
||||
let map = |c: f32| (c as f64 * u32::MAX as f64) as u32;
|
||||
let [r, g, b, a] = color.to_array(TransferFunction::Srgb);
|
||||
let [r, g, b, a] = color.to_array(TransferFunction::Gamma22);
|
||||
self.tran.send(CreateU32RgbaBuffer {
|
||||
self_id: self.id,
|
||||
id: obj.id,
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue