aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/exa
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-04-27 12:17:43 +0000
committermarha <marha@users.sourceforge.net>2010-04-27 12:17:43 +0000
commit929c7e1e824590c2f8bd47135f96c98a34027dd5 (patch)
tree6276192c5c4b18aaab2eccbc03b8d6e1b859ab1b /xorg-server/exa
parente026745845d87ab4cd8b2a96b665d24b025644e1 (diff)
downloadvcxsrv-929c7e1e824590c2f8bd47135f96c98a34027dd5.tar.gz
vcxsrv-929c7e1e824590c2f8bd47135f96c98a34027dd5.tar.bz2
vcxsrv-929c7e1e824590c2f8bd47135f96c98a34027dd5.zip
git update 27/4/2010
Diffstat (limited to 'xorg-server/exa')
-rw-r--r--xorg-server/exa/exa_unaccel.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/xorg-server/exa/exa_unaccel.c b/xorg-server/exa/exa_unaccel.c
index db9ce9f56..2f8c4622d 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, &reg);
REGION_UNINIT(pScreen, &reg);
- 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