From 9691d196c34d551ebc33843692afd0ee23b9389b Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 27 Apr 2010 13:04:40 +0000 Subject: svn merge -r549:HEAD "^/branches/released" . --- xorg-server/exa/exa_unaccel.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'xorg-server/exa') diff --git a/xorg-server/exa/exa_unaccel.c b/xorg-server/exa/exa_unaccel.c index 6345f6b59..f6d74f11b 100644 --- a/xorg-server/exa/exa_unaccel.c +++ b/xorg-server/exa/exa_unaccel.c @@ -462,9 +462,11 @@ ExaSrcValidate(DrawablePtr pDrawable, REGION_UNION(pScreen, dst, dst, ®); REGION_UNINIT(pScreen, ®); - swap(pExaScr, pScreen, SourceValidate); - pScreen->SourceValidate(pDrawable, x, y, width, height); - swap(pExaScr, pScreen, SourceValidate); + if (pExaScr->SavedSourceValidate) { + swap(pExaScr, pScreen, SourceValidate); + pScreen->SourceValidate(pDrawable, x, y, width, height); + swap(pExaScr, pScreen, SourceValidate); + } } static Bool -- cgit v1.2.3