summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-03-30 07:24:42 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-03-30 07:25:57 +0100
commit630d77bf10ba6234bb9c04538636f7d8aa319aea (patch)
tree30b034adb940498338654b8828ed7a1c73e5e0ac
parentf660df2cb44b310740ed850037ff37891b671f28 (diff)
Add a DRI2SwapEventPtr typedef for retro xservers
Because people are still trying to build upon our solid historical foundations. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/intel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/intel.h b/src/intel.h
index 41799896..5d7198ba 100644
--- a/src/intel.h
+++ b/src/intel.h
@@ -470,6 +470,11 @@ enum DRI2FrameEventType {
DRI2_WAITMSC,
};
+#if XORG_VERSION_CURRENT <= XORG_VERSION_NUMERIC(1,7,99,3,0)
+typedef void (*DRI2SwapEventPtr)(ClientPtr client, void *data, int type,
+ CARD64 ust, CARD64 msc, CARD64 sbc);
+#endif
+
typedef struct _DRI2FrameEvent {
XID drawable_id;
XID client_id; /* fake client ID to track client destruction */