mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 11:28:02 +02:00
drm/intel: Set default extend mode for rendering gradient subsets.
This commit is contained in:
parent
521d1c1d2c
commit
543cf07364
1 changed files with 1 additions and 0 deletions
|
|
@ -1450,6 +1450,7 @@ intel_gradient_render (intel_device_t *device,
|
|||
return _cairo_error (CAIRO_STATUS_NO_MEMORY);
|
||||
|
||||
pixman_image_set_filter (gradient, PIXMAN_FILTER_BILINEAR, NULL, 0);
|
||||
pixman_image_set_repeat (gradient, PIXMAN_REPEAT_PAD);
|
||||
|
||||
image = pixman_image_create_bits (PIXMAN_a8r8g8b8, width, 1, NULL, 0);
|
||||
if (unlikely (image == NULL)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue