[PATCH xf86-video-modesetting] Track X server API changes for DamageUnregister

Gaetan Nadon memsize at videotron.ca
Thu Nov 14 05:03:17 PST 2013


On 13-11-14 03:09 AM, Keith Packard wrote:
> -	DamageUnregister(&pScreen->GetScreenPixmap(pScreen)->drawable, ms->damage);
> +	DamageUnregister(ms->damage);
Wouldn't that break on earlier server versions?

The Intel driver added this code in compat-api.h:

    #if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
    #define DamageUnregister(d, dd) DamageUnregister(dd)
    #endif


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131114/1ad7d83a/attachment.html>


More information about the xorg-devel mailing list