mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-12 18:19:11 -04:00
Update rlsw.h
This commit is contained in:
2
src/external/rlsw.h
vendored
2
src/external/rlsw.h
vendored
@ -2417,7 +2417,7 @@ static inline void sw_texture_sample_nearest(float *SW_RESTRICT color, const sw_
|
||||
|
||||
static inline void sw_texture_sample_linear(float *SW_RESTRICT color, const sw_texture_t *SW_RESTRICT tex, float u, float v)
|
||||
{
|
||||
// TODO: With a bit more cleverness thee number of operations can
|
||||
// TODO: With a bit more cleverness the number of operations can
|
||||
// be clearly reduced, but for now it works fine
|
||||
|
||||
float xf = (u*tex->width) - 0.5f;
|
||||
|
||||
Reference in New Issue
Block a user