Skip to content

Commit

Permalink
Fix tests, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
amadejkastelic committed Sep 11, 2024
1 parent 7c88f91 commit d018498
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hyprlux"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

[dependencies]
Expand Down
3 changes: 1 addition & 2 deletions src/shaders/vibrance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ void main() {{
vec4 pixColor = texture2D(tex, v_texcoord);
vec3 color = vec3(pixColor[0], pixColor[1], pixColor[2]);
// vec3 VIB_coefLuma = vec3(0.333333, 0.333334, 0.333333); // was for `if VIB_LUMA == 1`
vec3 VIB_coefLuma = vec3(0.212656, 0.715158, 0.072186); // try both and see which one looks nicer.
float luma = dot(VIB_coefLuma, color);
Expand Down Expand Up @@ -173,7 +172,7 @@ mod tests {
(new(string.clone(), string.clone(), 90), "0.90".to_string()),
(
new(string.clone(), string.clone(), 10000),
"1.00".to_string(),
"10.00".to_string(),
),
(new(string.clone(), string.clone(), 0), "0.01".to_string()),
(new(string.clone(), string.clone(), -10), "0.01".to_string()),
Expand Down

0 comments on commit d018498

Please sign in to comment.