diff options
Diffstat (limited to 'glamor/glamor_text.c')
-rw-r--r-- | glamor/glamor_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_text.c b/glamor/glamor_text.c index c7c1ab738..8d8c97072 100644 --- a/glamor/glamor_text.c +++ b/glamor/glamor_text.c @@ -431,7 +431,7 @@ glamor_image_text(DrawablePtr drawable, GCPtr gc, /* Check planemask before drawing background to * bail early if it's not OK */ - if (!glamor_set_planemask(pixmap, gc->planemask)) + if (!glamor_set_planemask(gc->depth, gc->planemask)) goto bail; for (c = 0; c < count; c++) if (charinfo[c]) |