Commit 3105fe9f authored by Zhigang Gong's avatar Zhigang Gong

glamor: Call glamor_composite_rects only when enable RENDER.

parent f9843c7a
......@@ -572,8 +572,10 @@ glamor_buffer_glyph(ScreenPtr screen,
static void glamor_glyphs_to_mask(PicturePtr mask,
glamor_glyph_buffer_t *buffer)
#ifdef RENDER
glamor_composite_rects(PictOpAdd, buffer->source, mask,
buffer->count, buffer->rects);
buffer->count = 0;
buffer->source = NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment