From 648d4fe5172cad33c6f09e05dd3d8d7171ef1a7f Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Sun, 30 Jan 2011 14:06:14 +0100 Subject: exa/driver: set pExaPixmap->use_gpu_copy to the right value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Not sure if it was causing problems, but you never know. Reviewed-by: Michel Dänzer Signed-off-by: Maarten Maathuis Signed-off-by: Keith Packard --- exa/exa_driver.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'exa') diff --git a/exa/exa_driver.c b/exa/exa_driver.c index a913cfb02..b9903d1bc 100644 --- a/exa/exa_driver.c +++ b/exa/exa_driver.c @@ -115,6 +115,8 @@ exaCreatePixmap_driver(ScreenPtr pScreen, int w, int h, int depth, exaSetAccelBlock(pExaScr, pExaPixmap, w, h, bpp); + pExaPixmap->use_gpu_copy = exaPixmapHasGpuCopy(pPixmap); + /* During a fallback we must prepare access. */ if (pExaScr->fallback_counter) exaPrepareAccess(&pPixmap->drawable, EXA_PREPARE_AUX_DEST); -- cgit v1.2.3