[Spice-devel] [PATCH] Fix XSPICE compile breakage introduced by fb038eb3.

Jeremy White jwhite at codeweavers.com
Thu Sep 13 07:50:04 PDT 2012


---
 src/qxl_driver.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 04a9aa8..dbb8ceb 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1386,7 +1386,9 @@ static Bool
 qxl_has_composite (qxl_screen_t *qxl)
 {
     return
+#ifndef XSPICE
 	qxl->pci->revision >= 4			&&
+#endif
 	QXL_HAS_CAP (qxl, SPICE_DISPLAY_CAP_COMPOSITE);
 }
 
@@ -1394,7 +1396,9 @@ static Bool
 qxl_has_a8_surfaces (qxl_screen_t *qxl)
 {
     return
+#ifndef XSPICE
 	qxl->pci->revision >= 4			&&
+#endif
 	QXL_HAS_CAP (qxl, SPICE_DISPLAY_CAP_A8_SURFACE);
 }
 
-- 
1.7.10.4




More information about the Spice-devel mailing list