diff options
author | Roy.Li <rongqing.li@windriver.com> | 2013-06-27 14:10:14 +0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-27 16:40:41 +0100 |
commit | b5e85e495e55e2537d305b7bebacdf6f97b66199 (patch) | |
tree | 3b74686a3580e8b4604d0c274cb1cf784f575180 | |
parent | 41715af4d009bfcb351946ddaa3a3ea3767a1429 (diff) |
uxa: fix the compilation error with xorg-xserver <= 1.10
struct _Screen has no canDoBGNoneRoot when ABI_VIDEODRV_VERSION is less than 10.0
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
-rw-r--r-- | src/intel_display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel_display.c b/src/intel_display.c index 17168e5b..0acb86d4 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); |