summaryrefslogtreecommitdiff
path: root/driver/xf86-video-intel/src/compat-api.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2015-08-23 17:53:52 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2015-08-23 17:53:52 +0000
commit2f67b97355b80e57c3c19ba22ea040fad60377a8 (patch)
treea76fae15637ccd76827e9bdaba61590996c8d8b4 /driver/xf86-video-intel/src/compat-api.h
parent8c4d201788a744e7d997ad3f9f1ecd2675e22230 (diff)
Merge upstream commit to support xserver 1.17
Diffstat (limited to 'driver/xf86-video-intel/src/compat-api.h')
-rw-r--r--driver/xf86-video-intel/src/compat-api.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/driver/xf86-video-intel/src/compat-api.h b/driver/xf86-video-intel/src/compat-api.h
index 46a755b93..966a1345b 100644
--- a/driver/xf86-video-intel/src/compat-api.h
+++ b/driver/xf86-video-intel/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