From e833b98182ea7da142a57b385735be9e79776439 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 2 Jan 2012 11:55:39 -0700 Subject: intel: pass xoffset, yoffset = 0 to _mesa_texstore() Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/intel/intel_tex_subimage.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/intel/intel_tex_subimage.c b/src/mesa/drivers/dri/intel/intel_tex_subimage.c index 45727479779..258c3f5d6d9 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_subimage.c +++ b/src/mesa/drivers/dri/intel/intel_tex_subimage.c @@ -115,12 +115,10 @@ intel_blit_texsubimage(struct gl_context * ctx, &blit_x, &blit_y); blit_x += xoffset; blit_y += yoffset; - xoffset = 0; - yoffset = 0; if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, texImage->TexFormat, - xoffset, yoffset, 0, + 0, 0, 0, /* x, y, z offset in dest buffer */ dstRowStride, &dstMap, width, height, 1, -- cgit v1.2.3