diff options
author | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2010-06-24 09:44:07 +0300 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2010-06-24 15:02:53 +0300 |
commit | 616e35d1fae703dc118ce503d25d4f57cfd16dfd (patch) | |
tree | 9d67a4808f289bb6300ef5391446a5e733489016 | |
parent | aed744008dbaab49f28f9c54ad0850074ece5d66 (diff) |
boilerplate: Remove the xlib-window target from Renderless builds.
I don't know why _cairo_boilerplate_xlib_window_create_surface()
is in the Render-only section of the code, but since it is, this
patch makes the boilerplate at least compile if we don't have
Render support built in.
-rw-r--r-- | boilerplate/cairo-boilerplate-xlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boilerplate/cairo-boilerplate-xlib.c b/boilerplate/cairo-boilerplate-xlib.c index 17de2ad8..8c412839 100644 --- a/boilerplate/cairo-boilerplate-xlib.c +++ b/boilerplate/cairo-boilerplate-xlib.c @@ -509,8 +509,6 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_xlib_synchronize, FALSE, FALSE, FALSE }, -#endif -#if CAIRO_HAS_XLIB_SURFACE { "xlib-window", "xlib", NULL, NULL, CAIRO_SURFACE_TYPE_XLIB, CAIRO_CONTENT_COLOR, 1, @@ -523,6 +521,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_xlib_synchronize, FALSE, FALSE, FALSE }, +#endif +#if CAIRO_HAS_XLIB_SURFACE /* This is a fallback surface which uses xlib fallbacks instead of * the Render extension. */ { |