summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-xrender-private.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-12-16 19:27:02 -0500
committerBehdad Esfahbod <behdad@behdad.org>2013-12-16 19:27:38 -0500
commit040a9f678bfb0f0b89a0273b729c4e9f2bc23e4f (patch)
tree91136f4e2d54f7adc6aef379206f2e74599f28ff /src/cairo-xlib-xrender-private.h
parentdcbe16eb40b488f89f2398181f4c3f8a65f84b52 (diff)
downloadcairo-040a9f678bfb0f0b89a0273b729c4e9f2bc23e4f.tar.gz
Check for XRenderSolidFill()
Diffstat (limited to 'src/cairo-xlib-xrender-private.h')
-rw-r--r--src/cairo-xlib-xrender-private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-xlib-xrender-private.h b/src/cairo-xlib-xrender-private.h
index bf3199c4c..90769467b 100644
--- a/src/cairo-xlib-xrender-private.h
+++ b/src/cairo-xlib-xrender-private.h
@@ -96,6 +96,10 @@ __attribute__((__unused__)) static void _void_consume_free (Display *p, XID
#define PictOpBlendMaximum 0x3e
#endif
+#if !HAVE_XRENDERCREATESOLIDFILL
+#define XRenderCreateSolidFill _int_consume
+#endif
+
#if !HAVE_XRENDERCREATELINEARGRADIENT
#define XRenderCreateLinearGradient _int_consume