Skip to content

Commit

Permalink
trilerp: correct duplicated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Dec 21, 2024
1 parent 3a3c75e commit c723857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/blit.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ lerp(uint32_t c0, uint32_t c1, unsigned nointerpolate){
return ret;
}

// linearly interpolate a 24-bit RGB value along each 8-bit channel
// trilinearly interpolate a 24-bit RGB value along each 8-bit channel
static inline uint32_t
trilerp(uint32_t c0, uint32_t c1, uint32_t c2, unsigned nointerpolate){
uint32_t ret = 0;
Expand Down

0 comments on commit c723857

Please sign in to comment.