glamor/glamor_composite_glyphs.c: Fix wrong !glamor_pixmap_is_memory check

When pixmaps aren't memory, that is the happy path
When pixmaps are memory, we need to bail to glamor_composite, which bails to fb.

Fixes the trashed rendering described in https://github.com/X11Libre/xserver/pull/1853

Signed-off-by: stefan11111 <stefan11111github@gmail.com>
This commit is contained in:
stefan11111 2026-08-25 15:24:17 +03:00 • committed by Enrico Weigelt
commit 3d27175b3c

View file

@ -427,7 +427,7 @@ glamor_composite_glyphs(CARD8 op,
*/
if (_X_UNLIKELY(glyph_draw->width > glyph_max_dim ||
glyph_draw->height > glyph_max_dim ||
!glamor_pixmap_is_memory((PixmapPtr)glyph_draw)))
glamor_pixmap_is_memory((PixmapPtr)glyph_draw)))
{
if (glyphs_queued) {
glamor_glyphs_flush(op, src, dst, prog, glyph_atlas, glyphs_queued);