summaryrefslogtreecommitdiff
path: root/do_traps.c
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 /do_traps.c
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 'do_traps.c')
-rw-r--r--do_traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/do_traps.c b/do_traps.c
index 326b56e..05f43c2 100644
--- a/do_traps.c
+++ b/do_traps.c
@@ -104,7 +104,7 @@ EndTrapezoids(XParms xp, Parms p)
free(points);
}
-#ifdef XRENDER
+#if defined(XRENDER) && defined(XFT)
#include <X11/extensions/Xrender.h>
#include <X11/Xft/Xft.h>