summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-10 18:37:02 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-10 18:37:26 +0100
commit9e9b0d85da801f1f95c7bc7e99566fe7056f5813 (patch)
treeb1f2a1e972803b1046ab6e98c92f3ee39813dc58 /src
parent0d4dd00aeafdd625ffe902e26e666b63a0842adc (diff)
i830: Update stride when swapping bo for PutImage
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/i830_uxa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_uxa.c b/src/i830_uxa.c
index 8b81e0c0..94a9fa9f 100644
--- a/src/i830_uxa.c
+++ b/src/i830_uxa.c
@@ -737,6 +737,7 @@ i830_uxa_pixmap_swap_bo_with_image(PixmapPtr pixmap,
dri_bo_unreference(priv->bo);
priv->bo = bo;
priv->tiling = tiling;
+ priv->stride = stride;
priv->batch_read_domains = priv->batch_write_domain = 0;
priv->flush_read_domains = priv->flush_write_domain = 0;
list_del(&priv->batch);