diff options
author | Brian Paul <[email protected]> | 2008-05-14 19:14:41 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-14 19:14:41 -0600 |
commit | 826218d386a0193f7c6d576b768c4427f09bb109 (patch) | |
tree | 37918efa2c347186339c663402efe2c3d20307ef /src/mesa/swrast | |
parent | 887bfee6e3beeacb441b81ac225d99060d4b5dfc (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c index 40ed48696ca..8eeb40f7c53 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; |