mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-23 06:43:07 +00:00
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:
parent
eda471e6f0
commit
3d27175b3c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue