From: Michel Dänzer <michel.daen...@amd.com> We were using the destination pixmap depth to determine the source picture format.
Fixes incorrect text rendering with some MATE desktop GTK3 themes. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94246 Signed-off-by: Michel Dänzer <michel.daen...@amd.com> --- glamor/glamor_program.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glamor/glamor_program.c b/glamor/glamor_program.c index ddab16f..0a94de6 100644 --- a/glamor/glamor_program.c +++ b/glamor/glamor_program.c @@ -508,9 +508,9 @@ use_source_solid(CARD8 op, PicturePtr src, PicturePtr dst, glamor_program *prog) glamor_set_blend(op, prog->alpha, dst); - glamor_set_color(glamor_get_drawable_pixmap(dst->pDrawable), - src->pSourcePict->solidFill.color, - prog->fg_uniform); + glamor_set_color_depth(dst->pDrawable->pScreen, 32, + src->pSourcePict->solidFill.color, + prog->fg_uniform); return TRUE; } -- 2.7.0 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel