From: Michel Dänzer Date: Thu, 14 Dec 2006 09:24:09 +0000 (+0100) Subject: intelTexSubimage: Fix last parameter for intel_miptree_image_map(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4cb09df015068f6d75e6457b6c98836dd58aaf29;p=mesa.git intelTexSubimage: Fix last parameter for intel_miptree_image_map(). --- diff --git a/src/mesa/drivers/dri/i915tex/intel_tex_subimage.c b/src/mesa/drivers/dri/i915tex/intel_tex_subimage.c index 25a2dca6857..3935787806b 100644 --- a/src/mesa/drivers/dri/i915tex/intel_tex_subimage.c +++ b/src/mesa/drivers/dri/i915tex/intel_tex_subimage.c @@ -50,7 +50,6 @@ intelTexSubimage(GLcontext * ctx, { struct intel_context *intel = intel_context(ctx); struct intel_texture_image *intelImage = intel_texture_image(texImage); - GLuint dstImageStride; GLuint dstRowStride; DBG("%s target %s level %d offset %d,%d %dx%d\n", __FUNCTION__, @@ -79,7 +78,7 @@ intelTexSubimage(GLcontext * ctx, intelImage->face, intelImage->level, &dstRowStride, - &dstImageStride); + texImage->ImageOffsets); assert(dstRowStride);