From: "Roy.Li" <rongqing.li at windriver.com> struct _Screen has no canDoBGNoneRoot when ABI_VIDEODRV_VERSION is less than 10.0 Signed-off-by: Roy.Li <rongqing.li at windriver.com> --- src/intel_display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel_display.c b/src/intel_display.c index 17168e5..0acb86d 100644 --- a/src/intel_display.c +++ b/src/intel_display.c @@ -2113,7 +2113,9 @@ void intel_copy_fb(ScrnInfoPtr scrn) 0, 0, scrn->virtualX, scrn->virtualY); intel->uxa_driver->done_copy(dst); +#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(10, 0) pScreen->canDoBGNoneRoot = TRUE; +#endif cleanup_dst: (*pScreen->DestroyPixmap)(dst); -- 1.7.10.4