Gabriele Giacone, le Mon 05 May 2014 16:55:08 +0200, a écrit : > +diff --git a/src/via_memmgr.c b/src/via_memmgr.c > +index 5d4cc3f..e174771 100644 > +--- a/src/via_memmgr.c > ++++ b/src/via_memmgr.c > +@@ -74,6 +74,7 @@ drm_bo_alloc_surface(ScrnInfoPtr pScrn, unsigned int > width, unsigned int height, > + struct buffer_object *obj = NULL; > + int pitch; > + > ++#ifdef HAVE_DRI > + switch (format) { > + case DRM_FORMAT_C8: > + pitch = width; > +@@ -93,6 +94,7 @@ drm_bo_alloc_surface(ScrnInfoPtr pScrn, unsigned int > width, unsigned int height, > + pitch = width * 4; > + break; > + } > ++#endif > + > + pitch = ALIGN_TO(pitch, alignment);
Err, this can not work: "pitch" becomes completely undefined... Samuel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org