diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-05 18:42:24 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-05 19:00:32 +0100 |
commit | 524a45da56e2a052ffafa3887891caa90ba39f76 (patch) | |
tree | c03d6d7bbd81a995403f5779b4a766630be0c880 | |
parent | 43d616066fc35e6ac2282c0a8c5f9a11aac7b4f1 (diff) |
compat-api: Map changes of DamageUnregister API in 1.14.99.2
Reported-by: Emmanuel Benisty <benisty.e@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/compat-api.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compat-api.h b/src/compat-api.h index 8eb46efb..244a4860 100644 --- a/src/compat-api.h +++ b/src/compat-api.h @@ -162,4 +162,8 @@ static inline void FreePixmap(PixmapPtr pixmap) if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, w, h) #endif +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0) +#define DamageUnregister(d, dd) DamageUnregister(dd) +#endif + #endif |