mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 00:17:58 +02:00
[boilerplate] Update fallbacks after disabling RENDER
The xlib surface caches flags based on RENDER version, so after disabling render to force fallbacks, we need to ensure that the flags are reset.
This commit is contained in:
parent
786d1f962a
commit
397538a251
1 changed files with 5 additions and 0 deletions
|
|
@ -256,6 +256,11 @@ cairo_boilerplate_xlib_surface_disable_render (cairo_surface_t *abstract_surface
|
|||
* non-Render surface creation, so repeat the procedure here. */
|
||||
surface->base.content = CAIRO_CONTENT_COLOR;
|
||||
|
||||
/* These flags are set based on known bugs and lack of RENDER support */
|
||||
surface->buggy_repeat = TRUE;
|
||||
surface->buggy_pad_reflect = TRUE;
|
||||
surface->buggy_gradients = TRUE;
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue