summaryrefslogtreecommitdiff
path: root/driver/xf86-video-ati/src/compat-api.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2021-11-11 09:30:15 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2021-11-11 09:30:15 +0000
commit6f4fdc29e8d03c4eab875168fadc2c78f0e1d38a (patch)
tree1affbd273a67e7a803163fd7dac0dd4659c1c8d1 /driver/xf86-video-ati/src/compat-api.h
parenta7ab4c7b05e99ab86cb614f4b020d55065daaa65 (diff)
Update to git -current version for compatibility with Xserver 21.1
Diffstat (limited to 'driver/xf86-video-ati/src/compat-api.h')
-rw-r--r--driver/xf86-video-ati/src/compat-api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/driver/xf86-video-ati/src/compat-api.h b/driver/xf86-video-ati/src/compat-api.h
index f4e7524f0..def6d3e4d 100644
--- a/driver/xf86-video-ati/src/compat-api.h
+++ b/driver/xf86-video-ati/src/compat-api.h
@@ -34,4 +34,10 @@
#define BLOCKHANDLER_ARGS pScreen, pTimeout, pReadmask
#endif
+#if ABI_VIDEODRV_VERSION < SET_ABI_VERSION(25, 2)
+#define current_primary current_master
+#define primary_pixmap master_pixmap
+#define secondary_dst slave_dst
+#endif
+
#endif