diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-12-14 10:24:09 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-12-14 11:01:38 +0100 |
commit | 4cb09df015068f6d75e6457b6c98836dd58aaf29 (patch) | |
tree | 4e72d946caa3a0ff3cf6030353518afc46ea18ee | |
parent | 9c09259b8bef8f120cc6f4bb1a44f0eae37d71b3 (diff) |
intelTexSubimage: Fix last parameter for intel_miptree_image_map().
-rw-r--r-- | src/mesa/drivers/dri/i915tex/intel_tex_subimage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_tex_subimage.c b/src/mesa/drivers/dri/i915tex/intel_tex_subimage.c index 25a2dca685..3935787806 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); |