diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-30 07:24:42 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-30 07:25:57 +0100 |
commit | 630d77bf10ba6234bb9c04538636f7d8aa319aea (patch) | |
tree | 30b034adb940498338654b8828ed7a1c73e5e0ac | |
parent | f660df2cb44b310740ed850037ff37891b671f28 (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.h | 5 |
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 */ |