summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-04-26 11:04:38 -0700
committerKeith Packard <keithp@keithp.com>2010-04-26 11:04:38 -0700
commit25d1c6cd37cc4079adf7c4bad8d10678fb08b409 (patch)
treec4e2fcf26f9222d3fcaf3f00ee0612cb4574de34 /exa
parentb557571dbff3d9a615e03cad904d46b8af9153a0 (diff)
Exa screen private has SavedSourceValidate, not SourceValidate
Need to check the right field to see if there is a wrapped SourceValidate function. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_unaccel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c
index 8fc93171b..2f8c4622d 100644
--- a/exa/exa_unaccel.c
+++ b/exa/exa_unaccel.c
@@ -462,7 +462,7 @@ ExaSrcValidate(DrawablePtr pDrawable,
REGION_UNION(pScreen, dst, dst, &reg);
REGION_UNINIT(pScreen, &reg);
- if (pExaScr->SourceValidate) {
+ if (pExaScr->SavedSourceValidate) {
swap(pExaScr, pScreen, SourceValidate);
pScreen->SourceValidate(pDrawable, x, y, width, height);
swap(pExaScr, pScreen, SourceValidate);