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/nouveau/nouveau_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/nouveau') diff --git a/src/mesa/drivers/dri/nouveau/nouveau_texture.c b/src/mesa/drivers/dri/nouveau/nouveau_texture.c index ae1ea37d845..b90ab9a8a51 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_texture.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_texture.c @@ -666,7 +666,7 @@ nouveau_set_texbuffer(__DRIcontext *dri_ctx, s->format = get_texbuffer_format(rb, format); /* Update the image fields. */ - _mesa_init_teximage_fields(ctx, target, ti, s->width, s->height, + _mesa_init_teximage_fields(ctx, ti, s->width, s->height, 1, 0, s->cpp, s->format); nti->base.RowStride = s->pitch / s->cpp; -- cgit v1.2.3