summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/swrast/swrast.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-03 17:48:12 -0700
committerBrian Paul <[email protected]>2012-01-04 08:12:28 -0700
commit892a2542a3f0753a7064c710b96f077dd5490624 (patch)
treea70ccd8fce0b5213fa3307ed3d20390515837c32 /src/mesa/drivers/dri/swrast/swrast.c
parent7b181d16c3b954bf567563e90e5e94bda833fab8 (diff)
mesa: remove unused _mesa_init_teximage_fields() target parameter
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Yuanhan Liu <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/swrast/swrast.c')
-rw-r--r--src/mesa/drivers/dri/swrast/swrast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c
index ff74cc5e290..4f6d0160f16 100644
--- a/src/mesa/drivers/dri/swrast/swrast.c
+++ b/src/mesa/drivers/dri/swrast/swrast.c
@@ -91,7 +91,7 @@ static void swrastSetTexBuffer2(__DRIcontext *pDRICtx, GLint target,
else
texFormat = MESA_FORMAT_ARGB8888;
- _mesa_init_teximage_fields(&dri_ctx->Base, target, texImage,
+ _mesa_init_teximage_fields(&dri_ctx->Base, texImage,
w, h, 1, 0, internalFormat, texFormat);
sPriv->swrast_loader->getImage(dPriv, x, y, w, h, (char *)swImage->Data,