From 1a8c05fd5559be842d8a038df73de34d4b261c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Fri, 11 Jan 2013 13:22:24 +0100 Subject: Make CRTC shadow pixmaps usable by glamor. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes rotation with glamor. Signed-off-by: Michel Dänzer --- src/radeon_glamor.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/radeon_glamor.c') diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c index c232cc22..5a7561f2 100644 --- a/src/radeon_glamor.c +++ b/src/radeon_glamor.c @@ -131,6 +131,8 @@ radeon_glamor_create_textured_pixmap(PixmapPtr pixmap) return TRUE; priv = radeon_get_pixmap_private(pixmap); + if (!priv->stride) + priv->stride = pixmap->devKind; if (glamor_egl_create_textured_pixmap(pixmap, priv->bo->handle, priv->stride)) return TRUE; -- cgit v1.2.3