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@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2010-05-29 17:55:19 +01:00
parent e2615cdeef
commit 2cfd5bc134
1 changed files with 1 additions and 1 deletions

View File

@ -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