mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-06 07:20:16 +01:00
Fix cairo-xlib-xcb compilation
This is broken since:
commit b1192beac7
Author: Adrian Johnson <ajohnson@redneon.com>
Date: Mon Sep 21 21:35:05 2015 +0930
Don't cull very thin lines on vector surfaces
On vector surfaces, use a minimum line width when calculating extents.
Bug 77298
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
fc689d7d35
commit
bf41cc397f
1 changed files with 2 additions and 1 deletions
|
|
@ -447,7 +447,8 @@ _cairo_xlib_xcb_surface_create (void *dpy,
|
|||
_cairo_surface_init (&surface->base,
|
||||
&_cairo_xlib_xcb_surface_backend,
|
||||
_cairo_xlib_xcb_device_create (dpy, xcb->device),
|
||||
xcb->content);
|
||||
xcb->content,
|
||||
FALSE); /* is_vector */
|
||||
|
||||
/* _cairo_surface_init() got another reference to the device, drop ours */
|
||||
cairo_device_destroy (surface->base.device);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue