Commit 882411be authored by Eric Anholt's avatar Eric Anholt Committed by Zhigang Gong

glamor: add alu support to setspans.

parent c70ce72f
......@@ -72,6 +72,7 @@ glamor_set_spans(DrawablePtr drawable, GCPtr gc, char *src,
if (!glamor_set_destination_pixmap(dest_pixmap))
return;
glamor_set_alu(gc->alu);
for (i = 0; i < n; i++) {
if (temp_src) {
for (j = 0; j < widths[i]; j++) {
......@@ -94,5 +95,6 @@ glamor_set_spans(DrawablePtr drawable, GCPtr gc, char *src,
drawpixels_src += PixmapBytePad(widths[i], drawable->depth);
}
}
glamor_set_alu(GXcopy);
xfree(temp_src);
}
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