From 2cfd5bc134f0dd86ea714594d61f6d5eb29019ce Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 29 May 2010 17:55:19 +0100 Subject: [PATCH] dri: Compilation fix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 17:53 < arekm> ickle: i830_dri.c:630:28: error: ‘DrawableRec’ has no member named ‘bpp’ 17:53 < arekm> ickle: i830_dri.c:630:57: error: ‘DrawableRec’ has no member named ‘bpp’ * sigh. I need to fix this machine to have the right version of the * headers. Signed-off-by: Chris Wilson --- src/i830_dri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i830_dri.c b/src/i830_dri.c index bd75b9e2..83d953d3 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -627,7 +627,7 @@ can_swap(DRI2BufferPtr front, DRI2BufferPtr back) if (front_pixmap->drawable.depth != back_pixmap->drawable.depth) return FALSE; #else - if (front_pixmap->drawable.bpp != back_pixmap->drawable.bpp) + if (front_pixmap->drawable.bitsPerPixel != back_pixmap->drawable.bitsPerPixel) return FALSE; #endif