summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2012-09-25 11:31:04 +0200
committerUli Schlachter <psychon@znc.in>2012-09-25 11:31:04 +0200
commit0ccbb83eb892aca51838aeb1da45070b385a6d88 (patch)
tree3b640d8c6fd38e6a3b272da0c7b097239a510ff8 /src
parentb33d83ad49343ce226f76ceb6c83659c72442e91 (diff)
xcb: Check the right flag for FillRectangles
Fixes: operator-source Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src')
-rw-r--r--src/cairo-xcb-surface-render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c
index 959d38005..6f86a4f8e 100644
--- a/src/cairo-xcb-surface-render.c
+++ b/src/cairo-xcb-surface-render.c
@@ -2410,7 +2410,7 @@ _cairo_xcb_surface_clear (cairo_xcb_surface_t *dst)
rect.width = dst->width;
rect.height = dst->height;
- if (dst->connection->flags & CAIRO_XCB_RENDER_HAS_COMPOSITE) {
+ if (dst->connection->flags & CAIRO_XCB_RENDER_HAS_FILL_RECTANGLES) {
xcb_render_color_t color;
uint8_t op;