From 892a2542a3f0753a7064c710b96f077dd5490624 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 3 Jan 2012 17:48:12 -0700 Subject: mesa: remove unused _mesa_init_teximage_fields() target parameter Reviewed-by: Ian Romanick Reviewed-by: Yuanhan Liu --- src/mesa/drivers/dri/swrast/swrast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/swrast') 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, -- cgit v1.2.3