[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:
Chris Wilson 2009-07-31 12:17:28 +01:00
parent 786d1f962a
commit 397538a251

View file

@ -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;
}