From: Jakob Bornecrantz Date: Sat, 8 Aug 2009 01:20:24 +0000 (+0200) Subject: i915g: Don't forget x/y coords in transfers X-Git-Tag: 062012170305~17133 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7de5e60c18898715765d610313f9d33b1d1e89fb;p=profile%2Fivi%2Fmesa.git i915g: Don't forget x/y coords in transfers Fixes demos/ray. --- diff --git a/src/gallium/drivers/i915simple/i915_screen.c b/src/gallium/drivers/i915simple/i915_screen.c index f4aa8e6..a3de38d 100644 --- a/src/gallium/drivers/i915simple/i915_screen.c +++ b/src/gallium/drivers/i915simple/i915_screen.c @@ -232,6 +232,8 @@ i915_get_tex_transfer(struct pipe_screen *screen, if (trans) { pipe_texture_reference(&trans->base.texture, texture); trans->base.format = trans->base.format; + trans->base.x = x; + trans->base.y = y; trans->base.width = w; trans->base.height = h; trans->base.block = texture->block;