Skip to content

Commit

Permalink
Ref space shouldn't be dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
Beinsezii committed Jun 15, 2024
1 parent 282cfe5 commit 28fa76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ fn get_icon_loc(name: &str) -> Option<PathBuf> {

fn monochromatize(mut reference: [f32; 3], target: &mut [[f32; 4]], target_space: Space) {
// {{{
convert_space(target_space, Space::JZCZHZ, &mut reference);
convert_space(Space::LRGB, Space::JZCZHZ, &mut reference);
convert_space_chunked(target_space, Space::JZCZHZ, target);

let lmax = Space::JZCZHZ.srgb_quant100()[0];
Expand Down

0 comments on commit 28fa76b

Please sign in to comment.