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>
This commit is contained in:
Chris Wilson 2013-10-05 18:42:24 +01:00
parent 43d616066f
commit 524a45da56
1 changed files with 4 additions and 0 deletions

View File

@ -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