diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-31 12:17:28 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-31 14:33:11 +0100 |
commit | 397538a251ae19bb1a34650763eb9a80108a96de (patch) | |
tree | bb02b010fb5ce3bd47dbc27f810a6cc8a15a4028 /boilerplate/cairo-boilerplate-xlib.c | |
parent | 786d1f962a7e7ee7036ea85d4ea3aec7580e25db (diff) |
[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.
Diffstat (limited to 'boilerplate/cairo-boilerplate-xlib.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-xlib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/boilerplate/cairo-boilerplate-xlib.c b/boilerplate/cairo-boilerplate-xlib.c index 3c996cd2e..6810dd668 100644 --- a/boilerplate/cairo-boilerplate-xlib.c +++ b/boilerplate/cairo-boilerplate-xlib.c @@ -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; } |