mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 23:28:07 +02:00
xlib: Don't delete gradients in unbounded fixup code
The fix is ugly, but for now it works.
This commit is contained in:
parent
af26560f25
commit
7002b82472
1 changed files with 2 additions and 1 deletions
|
|
@ -2088,7 +2088,8 @@ _cairo_xlib_surface_acquire_pattern_surface (cairo_xlib_display_t *display,
|
|||
surface = (cairo_xlib_surface_t *)
|
||||
_cairo_xlib_surface_create_internal (dst->screen, None,
|
||||
NULL, format,
|
||||
0, 0, 32);
|
||||
/* what could possibly go wrong? */
|
||||
XLIB_COORD_MAX, XLIB_COORD_MAX, 32);
|
||||
if (unlikely (surface->base.status)) {
|
||||
XRenderFreePicture (display->display, picture);
|
||||
return surface->base.status;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue