summaryrefslogtreecommitdiff
path: root/src/i830_uxa.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-10 18:37:02 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-05-17 20:16:53 +0100
commit9d3588c026953da8f50b3daa97cc7a416bfa60a7 (patch)
tree2551537fa9f4aaed226c1c7503d241584b4f460a /src/i830_uxa.c
parent6061812a6420b2196f9fe9557b70f5706a20613f (diff)
i830: Update stride when swapping bo for PutImage
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 9e9b0d85da801f1f95c7bc7e99566fe7056f5813) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/i830_uxa.c')
-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 9fc6ade6..decadcfb 100644
--- a/src/i830_uxa.c
+++ b/src/i830_uxa.c
@@ -729,6 +729,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);