Commit fe0b2974 authored by Eric Anholt's avatar Eric Anholt

glamor: Fix dashed line rendering.

We were binding the screen pixmap as the dash and sampling its alpha,
which is usually just 1.0 (no dashing at all).

Please cherry-pick this to active stable branches.
Signed-off-by: Eric Anholt's avatarEric Anholt <>
Reviewed-by: Keith Packard's avatarKeith Packard <>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <>
parent 5b5ba7dc
......@@ -147,7 +147,7 @@ glamor_dash_setup(DrawablePtr drawable, GCPtr gc)
goto bail;
dash_pixmap = glamor_get_dash_pixmap(gc);
dash_priv = glamor_get_pixmap_private(pixmap);
dash_priv = glamor_get_pixmap_private(dash_pixmap);
goto bail;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment