summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@aurora.walkyrie.se>2009-08-08 03:20:24 +0200
committerJakob Bornecrantz <jakob@aurora.walkyrie.se>2009-08-08 03:20:24 +0200
commit7de5e60c18898715765d610313f9d33b1d1e89fb (patch)
tree9672889acfaec1455d787473723804530c737185 /src
parent738e02c3c813ca290ec5e7596c5870adde3a3808 (diff)
i915g: Don't forget x/y coords in transfers
Fixes demos/ray.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915simple/i915_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_screen.c b/src/gallium/drivers/i915simple/i915_screen.c
index f4aa8e60d8..a3de38d586 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;