[PATCH 6/6] xf86: add a define to denote the new non-index interfaces are being used

Dave Airlie airlied at gmail.com
Wed May 23 09:07:18 PDT 2012


From: Dave Airlie <airlied at redhat.com>

This can be used by drivers to provide compatible APIs.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 hw/xfree86/common/xf86.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h
index 29e04ac..0641ac4 100644
--- a/hw/xfree86/common/xf86.h
+++ b/hw/xfree86/common/xf86.h
@@ -463,4 +463,6 @@ extern _X_EXPORT ScreenPtr xf86ScrnToScreen(ScrnInfoPtr pScrn);
 
 #define XF86_HAS_SCRN_CONV 1 /* define for drivers to use in api compat */
 
+#define XF86_SCRN_INTERFACE 1 /* define for drivers to use in api compat */
+
 #endif                          /* _XF86_H */
-- 
1.7.6



More information about the xorg-devel mailing list