mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-25 04:50:09 +01:00
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.
This commit is contained in:
parent
aed744008d
commit
616e35d1fa
1 changed files with 2 additions and 2 deletions
|
|
@ -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. */
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue