From 5214139e30bb51bea8c18f270e060339678c8715 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Wed, 23 Apr 2008 13:39:49 +0800 Subject: Fix warning with i830_exa_pixmap_is_offscreen() for exa minor >=2 --- src/i830_exa.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/i830_exa.c b/src/i830_exa.c index 2c807c51..0ebf3dfd 100644 --- a/src/i830_exa.c +++ b/src/i830_exa.c @@ -121,6 +121,7 @@ i830_pixmap_tiled(PixmapPtr pPixmap) return FALSE; } +#if EXA_VERSION_MINOR >= 2 static Bool i830_exa_pixmap_is_offscreen(PixmapPtr pPixmap) { @@ -136,6 +137,7 @@ i830_exa_pixmap_is_offscreen(PixmapPtr pPixmap) return FALSE; } } +#endif /** * I830EXASync - wait for a command to finish -- cgit v1.2.3