From 25d1c6cd37cc4079adf7c4bad8d10678fb08b409 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 26 Apr 2010 11:04:38 -0700 Subject: [PATCH] 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 --- exa/exa_unaccel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ®); REGION_UNINIT(pScreen, ®); - if (pExaScr->SourceValidate) { + if (pExaScr->SavedSourceValidate) { swap(pExaScr, pScreen, SourceValidate); pScreen->SourceValidate(pDrawable, x, y, width, height); swap(pExaScr, pScreen, SourceValidate);