Skip to content

Commit

Permalink
shaders/icc: delete left-over debug code
Browse files Browse the repository at this point in the history
Oops?
  • Loading branch information
haasn committed Mar 14, 2024
1 parent 1469904 commit 5c1e6da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/shaders/icc.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ static bool detect_csp(struct pl_icc_object_t *icc)
}
const int N = PL_ARRAY_SIZE(dst) - RAMP;
const float tolerance = 5e-3f; // 0.5% stddev(error), around JND
PL_WARN(p, "TRC %s -> stddev %f", pl_color_transfer_name(trc),
sqrtf(errsum / N));
if (errsum > N * PL_SQUARE(tolerance))
continue;

Expand Down

0 comments on commit 5c1e6da

Please sign in to comment.