xf86-video-intel: src/i830_dri.c

Chris Wilson ickle at kemper.freedesktop.org
Sat May 29 09:56:36 PDT 2010


 src/i830_dri.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2cfd5bc134f0dd86ea714594d61f6d5eb29019ce
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat May 29 17:55:19 2010 +0100

    dri: Compilation fix.
    
    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 <chris at chris-wilson.co.uk>

diff --git a/src/i830_dri.c b/src/i830_dri.c
index bd75b9e..83d953d 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
 


More information about the xorg-commit mailing list