mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user