mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-29 22:00:15 +01:00
boilerplate: Compile xlib without xrender
cairo_boilerplate_xlib_surface_disable_render() is not defined when compiling without XRender, but it was used nonetheless. Replace it with an empty stub when XRender is not available.
This commit is contained in:
parent
061ea78ad2
commit
e425c44e9c
1 changed files with 6 additions and 0 deletions
|
|
@ -269,6 +269,12 @@ cairo_boilerplate_xlib_surface_disable_render (cairo_surface_t *abstract_surface
|
|||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
#else
|
||||
cairo_status_t
|
||||
cairo_boilerplate_xlib_surface_disable_render (cairo_surface_t *abstract_surface)
|
||||
{
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue