mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-04 00:30:20 +01:00
Check for XRenderSolidFill()
This commit is contained in:
parent
dcbe16eb40
commit
040a9f678b
2 changed files with 5 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ CAIRO_ENABLE_SURFACE_BACKEND(xlib_xrender, Xlib Xrender, auto, [
|
|||
old_LIBS=$LIBS
|
||||
CFLAGS="$CFLAGS $xlib_CFLAGS $xlib_NONPKGCONFIG_CFLAGS $xlib_xrender_CFLAGS $xlib_xrender_NONPKGCONFIG_CFLAGS"
|
||||
LIBS="$LIBS $xlib_LIBS $xlib_NONPKGCONFIG_LIBS $xlib_xrender_LIBS $xlib_xrender_NONPKGCONFIG_LIBS"
|
||||
AC_CHECK_FUNCS([XRenderCreateLinearGradient XRenderCreateRadialGradient XRenderCreateConicalGradient])
|
||||
AC_CHECK_FUNCS([XRenderCreateSolidFill XRenderCreateLinearGradient XRenderCreateRadialGradient XRenderCreateConicalGradient])
|
||||
CFLAGS=$old_CFLAGS
|
||||
LIBS=$old_LIBS
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue