mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-25 11:50:32 +01:00
xlib-xcb: Implement cairo_xlib_device_debug_{g,s}et_precision
63bdae27a8 introduced a new public API
cairo_xlib_device_debug_set_precision(), exported by cairo-xlib.
cairo-xlib-xcb must implement it as well, because it must provide the
same public API.
Fixes the compilation of cairo-sphinx with --enable-tee
--enable-xlib-xcb --enable-script.
Reported-by: James Cloos <cloos@jhcloos.com>
This commit is contained in:
parent
3a504282ef
commit
ced061124d
1 changed files with 13 additions and 0 deletions
|
|
@ -540,4 +540,17 @@ cairo_xlib_surface_get_height (cairo_surface_t *abstract_surface)
|
|||
return surface->xcb->height;
|
||||
}
|
||||
|
||||
void
|
||||
cairo_xlib_device_debug_set_precision (cairo_device_t *device,
|
||||
int precision)
|
||||
{
|
||||
cairo_xcb_device_debug_set_precision (device, precision);
|
||||
}
|
||||
|
||||
int
|
||||
cairo_xlib_device_debug_get_precision (cairo_device_t *device)
|
||||
{
|
||||
return cairo_xcb_device_debug_get_precision (device);
|
||||
}
|
||||
|
||||
#endif /* CAIRO_HAS_XLIB_XCB_FUNCTIONS */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue