From 524a45da56e2a052ffafa3887891caa90ba39f76 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 05 Oct 2013 17:42:24 +0000 Subject: compat-api: Map changes of DamageUnregister API in 1.14.99.2 Reported-by: Emmanuel Benisty Signed-off-by: Chris Wilson --- diff --git a/src/compat-api.h b/src/compat-api.h index 8eb46ef..244a486 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 -- cgit v0.9.0.2-2-gbebe