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>
This commit is contained in:
parent
b557571dbf
commit
25d1c6cd37
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user