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>
This commit is contained in:
Roy.Li 2013-06-27 14:10:14 +08:00 committed by Chris Wilson
parent 41715af4d0
commit b5e85e495e
1 changed files with 2 additions and 0 deletions

View File

@ -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);