summaryrefslogtreecommitdiff
path: root/src/compat-api.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-10-09 16:35:36 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-10-11 16:15:46 +0100
commitf7f7383de0da0776cfbe98481578ab6680732a2a (patch)
treea3e62d6a1be78561ce55844d7e89fb2ff39e72c4 /src/compat-api.h
parentc139e2fb95f2db0b39aadcd58cc63b316a278951 (diff)
downloadxorg-driver-xf86-video-intel-f7f7383de0da0776cfbe98481578ab6680732a2a.tar.gz
compat: Hide changes in miHandleExposures() interface
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84901
Diffstat (limited to 'src/compat-api.h')
-rw-r--r--src/compat-api.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compat-api.h b/src/compat-api.h
index 46a755b9..d09e1fb3 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -213,4 +213,14 @@ static inline void FreePixmap(PixmapPtr pixmap)
#endif
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,16,99,1,0)
+#include <mi.h>
+#define miHandleExposures(pSrcDrawable, pDstDrawable, \
+ pGC, srcx, srcy, width, height, \
+ dstx, dsty, plane) \
+ miHandleExposures(pSrcDrawable, pDstDrawable, \
+ pGC, srcx, srcy, width, height, \
+ dstx, dsty)
+#endif
+
#endif