xcb: Check the right flag for FillRectangles

Fixes: operator-source

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2012-09-25 11:31:04 +02:00
parent b33d83ad49
commit 0ccbb83eb8

View file

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