drm/intel: Set default extend mode for rendering gradient subsets.

This commit is contained in:
Chris Wilson 2010-03-03 21:19:41 +00:00
parent 521d1c1d2c
commit 543cf07364

View file

@ -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)) {