diff options
author | Brian Paul <[email protected]> | 2005-09-16 04:16:48 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-16 04:16:48 +0000 |
commit | aa8abf8081023c00469b6c88760ed0291033eb6e (patch) | |
tree | f69848c418cd6b7c702bc5b1c2a21412c5e7a4dd /src/mesa/swrast/s_texcombine.c | |
parent | 792a1bcbe4c4b4f5f96d6ac017fcb5376900ea75 (diff) |
Rework the texture filtering functions a bit.
No need to pass the texture unit number as an argument.
Diffstat (limited to 'src/mesa/swrast/s_texcombine.c')
-rw-r--r-- | src/mesa/swrast/s_texcombine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_texcombine.c b/src/mesa/swrast/s_texcombine.c index 65eccad2e91..2bdd4efaa20 100644 --- a/src/mesa/swrast/s_texcombine.c +++ b/src/mesa/swrast/s_texcombine.c @@ -1123,8 +1123,8 @@ _swrast_texture_span( GLcontext *ctx, struct sw_span *span ) } } - /* Sample the texture (span->end fragments) */ - swrast->TextureSample[unit]( ctx, unit, texUnit->_Current, span->end, + /* Sample the texture (span->end = number of fragments) */ + swrast->TextureSample[unit]( ctx, texUnit->_Current, span->end, (const GLfloat (*)[4]) span->array->texcoords[unit], lambda, texels ); |