Adapt to libXfont2 ABI changes

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2016-07-20 11:26:05 +01:00
parent 24ab9145c7
commit 4eaab17aec
1 changed files with 5 additions and 0 deletions

View File

@ -117,6 +117,11 @@
#define RECTILINEAR 0x4
#define OVERWRITES 0x8
#if XFONT2_CLIENT_FUNCS_VERSION >= 1
#define AllocateFontPrivateIndex() xfont2_allocate_font_private_index()
#define FontSetPrivate(font, idx, data) xfont2_font_set_private(font, idx, data)
#endif
#if 0
static void __sna_fallback_flush(DrawablePtr d)
{