diff options
author | marha <marha@users.sourceforge.net> | 2010-04-27 13:04:40 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-04-27 13:04:40 +0000 |
commit | 9691d196c34d551ebc33843692afd0ee23b9389b (patch) | |
tree | 184412bc028d5e4b62492d4c95a899b35e600692 /xorg-server/exa/exa_unaccel.c | |
parent | f49a8c2a1f02f8089d709ec8dcf7080c041baf0c (diff) | |
download | vcxsrv-9691d196c34d551ebc33843692afd0ee23b9389b.tar.gz vcxsrv-9691d196c34d551ebc33843692afd0ee23b9389b.tar.bz2 vcxsrv-9691d196c34d551ebc33843692afd0ee23b9389b.zip |
svn merge -r549:HEAD "^/branches/released" .
Diffstat (limited to 'xorg-server/exa/exa_unaccel.c')
-rw-r--r-- | xorg-server/exa/exa_unaccel.c | 8 |
1 files changed, 5 insertions, 3 deletions
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
|