Commit a3e681ea authored by Michel Dänzer's avatar Michel Dänzer Committed by Adam Jackson

glamor: Source pictures are always depth 32

We were using the destination pixmap depth to determine the source
picture format.

Fixes incorrect text rendering with some MATE desktop GTK3 themes.
Reviewed-by: Adam Jackson's avatarAdam Jackson <>
Bugzilla: Michel Dänzer's avatarMichel Dänzer <>
parent b05ae79e
......@@ -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_depth(dst->pDrawable->pScreen, 32,
return TRUE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment