[Intel-gfx] [PATCH] fix the compiling error of 'struct _Screen' has no member named 'canDoBGNoneRoot'x

rongqing.li at windriver.com rongqing.li at windriver.com
Thu Jun 27 08:10:14 CEST 2013


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




More information about the Intel-gfx mailing list