summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-05-14 19:14:41 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-05-14 19:14:41 -0600
commit826218d386a0193f7c6d576b768c4427f09bb109 (patch)
tree37918efa2c347186339c663402efe2c3d20307ef /src/mesa/swrast
parent887bfee6e3beeacb441b81ac225d99060d4b5dfc (diff)
downloadexternal_mesa3d-826218d386a0193f7c6d576b768c4427f09bb109.zip
external_mesa3d-826218d386a0193f7c6d576b768c4427f09bb109.tar.gz
external_mesa3d-826218d386a0193f7c6d576b768c4427f09bb109.tar.bz2
Consolidate texture fetch code and use partial derivatives when possible.
picked from master
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c
index 40ed486..8eeb40f 100644
--- a/src/mesa/swrast/s_fragprog.c
+++ b/src/mesa/swrast/s_fragprog.c
@@ -64,7 +64,7 @@ fetch_texel_lod( GLcontext *ctx, const GLfloat texcoord[4], GLfloat lambda,
static void
fetch_texel_deriv( GLcontext *ctx, const GLfloat texcoord[4],
const GLfloat texdx[4], const GLfloat texdy[4],
- GLuint unit, GLfloat color[4] )
+ GLfloat lodBias, GLuint unit, GLfloat color[4] )
{
SWcontext *swrast = SWRAST_CONTEXT(ctx);
const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;