--- Mesa-7.4.3/src/mesa/drivers/dri/intel/intel_tex_copy.c 2009-06-01 14:06:19.000000000 -0700 +++ Mesa-7.4.3_fix/src/mesa/drivers/dri/intel/intel_tex_copy.c 2009-06-21 16:42:28.813573114 -0700 @@ -232,7 +232,15 @@ if (border) goto fail; - srcx = x; + /* Setup or redefine the texture object, mipmap tree and texture + * image. Don't populate yet. + */ + ctx->Driver.TexImage2D(ctx, target, level, internalFormat, + width, height, border, + GL_RGBA, CHAN_TYPE, NULL, + &ctx->DefaultPacking, texObj, texImage); + + srcx = x; srcy = y; dstx = 0; dsty = 0; @@ -242,14 +250,6 @@ &width, &height)) return; - /* Setup or redefine the texture object, mipmap tree and texture - * image. Don't populate yet. - */ - ctx->Driver.TexImage2D(ctx, target, level, internalFormat, - width, height, border, - GL_RGBA, CHAN_TYPE, NULL, - &ctx->DefaultPacking, texObj, texImage); - if (!do_copy_texsubimage(intel_context(ctx), target, intel_texture_image(texImage),