diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-02-09 17:02:36 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-02-23 22:52:05 +0100 |
commit | a7ceb98ea1688f0de1613ee12bb78d246869242c (patch) | |
tree | cb270e581a2d745a2b090508512607f1f3b755d7 /common/gl_canvas.c | |
parent | 16780a7b81376b7019b55cb25068177a0b664d90 (diff) | |
download | spice-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/gl_canvas.c')
-rw-r--r-- | common/gl_canvas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gl_canvas.c b/common/gl_canvas.c index b6d584f1..8d152eee 100644 --- a/common/gl_canvas.c +++ b/common/gl_canvas.c @@ -210,7 +210,7 @@ static void set_mask(GLCanvas *canvas, SpiceQMask *mask, int x, int y) { pixman_image_t *image; - if (!(image = canvas_get_mask(&canvas->base, mask))) { + if (!(image = canvas_get_mask(&canvas->base, mask, NULL))) { glc_clear_mask(canvas->glc, GLC_MASK_A); return; } |