summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_tcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast/s_tcc.c')
-rw-r--r--src/mesa/swrast/s_tcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_tcc.c b/src/mesa/swrast/s_tcc.c
index 2309275b95..d6cea8f587 100644
--- a/src/mesa/swrast/s_tcc.c
+++ b/src/mesa/swrast/s_tcc.c
@@ -66,7 +66,7 @@ static void TEX( void *cc, const float *texcoord, int unit, float *result )
GLfloat lambda = 1.0; /* hack */
GLchan rgba[4];
- swrast->TextureSample[unit](ctx, unit, ctx->Texture.Unit[unit]._Current,
+ swrast->TextureSample[unit](ctx, ctx->Texture.Unit[unit]._Current,
1, (const GLfloat (*)[4]) texcoord,
&lambda, &rgba);
@@ -90,7 +90,7 @@ static void TXB( void *cc, const float *texcoord, int unit, float *result )
/* Is it necessary to reset texcoord[3] to 1 at this point?
*/
- swrast->TextureSample[unit](ctx, unit, ctx->Texture.Unit[unit]._Current,
+ swrast->TextureSample[unit](ctx, ctx->Texture.Unit[unit]._Current,
1, (const GLfloat (*)[4]) texcoord,
&lambda, &rgba);