diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-04-23 13:39:49 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-04-23 13:39:49 +0800 |
commit | 5214139e30bb51bea8c18f270e060339678c8715 (patch) | |
tree | 008ea8072191e4e10f10ebd21f9d0a01293215a3 | |
parent | f08aa4c291e4f5491372434e3ee08dfb15d5aa94 (diff) |
Fix warning with i830_exa_pixmap_is_offscreen() for exa minor >=2
-rw-r--r-- | src/i830_exa.c | 2 |
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 |