summaryrefslogtreecommitdiff
path: root/x11perf.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-19 22:28:22 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-19 22:28:22 -0800
commitd970d9de1c98bc828365f15fb08aaa8dda214dd6 (patch)
tree63568f8c258660f53b7afc646355818e2b795faf /x11perf.h
parent3147d783925bb42c7af78c9f5508c0dc245b942b (diff)
Bug 31640 - x11perf: Doesn't build without libXft
https://bugs.freedesktop.org/show_bug.cgi?id=31640 Fix trapezoid checks to look for both render & xft Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'x11perf.h')
-rw-r--r--x11perf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11perf.h b/x11perf.h
index 597b1f7..1deb037 100644
--- a/x11perf.h
+++ b/x11perf.h
@@ -291,7 +291,7 @@ extern void EndAAText ( XParms xp, Parms p );
extern int InitTrapezoids ( XParms xp, Parms p, int reps );
extern void DoTrapezoids ( XParms xp, Parms p, int reps );
extern void EndTrapezoids ( XParms xp, Parms p );
-#ifdef XRENDER
+#if defined(XRENDER) && defined(XFT)
extern int InitFixedTraps ( XParms xp, Parms p, int reps );
extern void DoFixedTraps ( XParms xp, Parms p, int reps );
extern void EndFixedTraps ( XParms xp, Parms p );