Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi Achard authored and remia committed Dec 19, 2024
1 parent 0d3cbd6 commit b7f92a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenColorIO/ops/fixedfunction/ACES2/Transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ f2 cusp_from_table(float h, const Table3D &gt, const Table1DLookup &ht)
int ii_lo = int(f_lo);
int ii_hi = ii_lo + 1;
float f = f_lo - int(f_lo);
int i_lo = int(lerp(ht.table[ii_lo], ht.table[ii_hi], f) * (gt.total_size - 1));
int i_lo = int(lerpf(ht.table[ii_lo], ht.table[ii_hi], f) * (gt.total_size - 1));
int i_hi = clamp_to_table_bounds(i_lo + 1, gt.total_size);

#else
Expand Down

0 comments on commit b7f92a3

Please sign in to comment.