Handle new DamageUnregister API which has only one argument

API change in 1.15

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2013-11-15 13:39:52 +09:00
parent d6ffce4b0e
commit a307ac2738

View File

@ -37,6 +37,10 @@
#define MODESETTING_OUTPUT_SLAVE_SUPPORT 1
#endif
#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
#define DamageUnregister(d, dd) DamageUnregister(dd)
#endif
struct dumb_bo {
uint32_t handle;
uint32_t size;