summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel
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/intel
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/intel')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 32f2e85515e..1f574351504 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_image.c
@@ -291,7 +291,7 @@ intel_set_texture_image_region(struct gl_context *ctx,
struct gl_texture_object *texobj = image->TexObject;
struct intel_texture_object *intel_texobj = intel_texture_object(texobj);
- _mesa_init_teximage_fields(&intel->ctx, target, image,
+ _mesa_init_teximage_fields(&intel->ctx, image,
region->width, region->height, 1,
0, internalFormat, format);