summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i830_exa.c2
1 files changed, 2 insertions, 0 deletions
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