mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
glamor: Call glamor_composite_rects only when enable RENDER.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user