glamor: Call glamor_composite_rects only when enable RENDER.
This commit is contained in:
parent
f9843c7a35
commit
3105fe9f64
|
@ -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);
|
||||
#endif
|
||||
|
||||
buffer->count = 0;
|
||||
buffer->source = NULL;
|
||||
|
|
Loading…
Reference in New Issue
Block a user