From c7238578773eedf2711683c0ad653918314d89f6 Mon Sep 17 00:00:00 2001 From: nick black Date: Fri, 20 Dec 2024 21:15:41 -0500 Subject: [PATCH] trilerp: correct duplicated comment --- src/lib/blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/blit.c b/src/lib/blit.c index 24e019e9f..5e499d4de 100644 --- a/src/lib/blit.c +++ b/src/lib/blit.c @@ -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;