aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glamor/glamor_spans.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glamor/glamor_spans.c')
-rw-r--r--xorg-server/glamor/glamor_spans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/glamor/glamor_spans.c b/xorg-server/glamor/glamor_spans.c
index b358c60bd..58da3edf7 100644
--- a/xorg-server/glamor/glamor_spans.c
+++ b/xorg-server/glamor/glamor_spans.c
@@ -279,7 +279,7 @@ glamor_set_spans_gl(DrawablePtr drawable, GCPtr gc, char *src,
if (gc->alu != GXcopy)
goto bail;
- if (!glamor_pm_is_solid(&pixmap->drawable, gc->planemask))
+ if (!glamor_pm_is_solid(gc->depth, gc->planemask))
goto bail;
glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y);