ack
On Wed, Jun 25, 2014 at 1:54 PM, Alon Levy <alevy@xxxxxxxxxx> wrote:
Since 3d511c30206bd8c9a207c436186a03af0bb02962 Xspice building is broken
due to undefined MAX_RELOCS when not building with XF86DRM_MODE.
---
src/qxl_image.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/qxl_image.c b/src/qxl_image.c
index eb66b63..8927fd4 100644
--- a/src/qxl_image.c
+++ b/src/qxl_image.c
@@ -159,6 +159,7 @@ qxl_image_create (qxl_screen_t *qxl, const uint8_t *data,
chunk_size = MAX (512 * 512, dest_stride);
+#ifdef XF86DRM_MODE
/* ensure we will not create too many pieces and overflow
* the command buffer (MAX_RELOCS). if so, increase the chunk_size.
* each loop creates at least 2 cmd buffer entries, and
@@ -170,6 +171,7 @@ qxl_image_create (qxl_screen_t *qxl, const uint8_t *data,
ErrorF ("adjusted chunk_size to %d\n", chunk_size);
#endif
}
+#endif
while (h)
{
--
1.9.3
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Marc-André Lureau
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel