summaryrefslogtreecommitdiffstats
path: root/common/gdi_canvas.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-02-09 17:02:36 +0100
committerAlexander Larsson <alexl@redhat.com>2010-02-23 22:52:05 +0100
commita7ceb98ea1688f0de1613ee12bb78d246869242c (patch)
treecb270e581a2d745a2b090508512607f1f3b755d7 /common/gdi_canvas.c
parent16780a7b81376b7019b55cb25068177a0b664d90 (diff)
downloadspice-a7ceb98ea1688f0de1613ee12bb78d246869242c.tar.gz
spice-a7ceb98ea1688f0de1613ee12bb78d246869242c.tar.xz
spice-a7ceb98ea1688f0de1613ee12bb78d246869242c.zip
Add possibility to not invert bitmask in canvas_get_mask()
This allows the pixman implementation to instead invert the (generally smaller) region instead of duplicating the bitmap to invert it.
Diffstat (limited to 'common/gdi_canvas.c')
-rw-r--r--common/gdi_canvas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c
index 66f8a02c..83c5f05d 100644
--- a/common/gdi_canvas.c
+++ b/common/gdi_canvas.c
@@ -784,7 +784,7 @@ static struct BitmapData get_mask_bitmap(struct GdiCanvas *canvas, struct SpiceQ
PixmanData *pixman_data;
bitmap.hbitmap = NULL;
- if (!(surface = canvas_get_mask(&canvas->base, mask))) {
+ if (!(surface = canvas_get_mask(&canvas->base, mask, NULL))) {
return bitmap;
}