summaryrefslogtreecommitdiff
path: root/src/compat-api.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-09-25 13:36:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-09-25 13:38:00 +0100
commit8f5a6d107bb30fa218ff3c1d07532ca834b82edc (patch)
treeda8c9e823c9b68486066b2c895c4b3a515c17f65 /src/compat-api.h
parentdee133a722fb137767a78b244a312620f52a51b1 (diff)
Add miInitializeBackingStore() to compat-api.h
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/compat-api.h')
-rw-r--r--src/compat-api.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compat-api.h b/src/compat-api.h
index 2daf9105..9ca2ab35 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -102,4 +102,11 @@
#define XF86_ENABLEDISABLEFB_ARG(x) (x)
#endif
+
+#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(13, 0)
+#define miInitializeBackingStore(x) do {} while (0)
+#else
+#include "mibstore.h"
+#endif
+
#endif