Skip to contentSkip to conversation

fix the compiling error of 'struct _Screen' has no member named 'canDoBGNoneRoot'x

PATCH In review [email protected] 2 participants 2 messages Jun 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix the compiling error of 'struct _Screen' has no member named 'canDoBGNoneRoot'x

From: "Roy.Li" <[email protected]>

struct _Screen has no canDoBGNoneRoot when ABI_VIDEODRV_VERSION is less than 10.0

---
 src/intel_display.c |    2 ++
 1 file changed, 2 insertions(+)
src/intel_display.c +2 -0
index 17168e5..0acb86d 100644
@@ -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);
Signature · 1 line
1.7.10.4