From 9d3588c026953da8f50b3daa97cc7a416bfa60a7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 10 May 2010 18:37:02 +0100 Subject: i830: Update stride when swapping bo for PutImage Signed-off-by: Chris Wilson (cherry picked from commit 9e9b0d85da801f1f95c7bc7e99566fe7056f5813) Signed-off-by: Owain G. Ainsworth --- src/i830_uxa.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/i830_uxa.c') 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); -- cgit v1.2.3