summaryrefslogtreecommitdiffstats
path: root/common/gl_canvas.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-24 14:30:00 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-24 14:30:00 +0200
commit9655dc30e99ee0fd75cce4de7f436849c15228d1 (patch)
tree29f027b42e3952080abbfd8a617d3f6acdf54757 /common/gl_canvas.c
parent9c504f23ef911b13cbd582d53ff104eec318100b (diff)
downloadspice-9655dc30e99ee0fd75cce4de7f436849c15228d1.tar.gz
spice-9655dc30e99ee0fd75cce4de7f436849c15228d1.tar.xz
spice-9655dc30e99ee0fd75cce4de7f436849c15228d1.zip
Remove support for clip by path
This is not supported currently anyway and was not generated before.
Diffstat (limited to 'common/gl_canvas.c')
-rw-r--r--common/gl_canvas.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/gl_canvas.c b/common/gl_canvas.c
index 688b635e..b16f25fc 100644
--- a/common/gl_canvas.c
+++ b/common/gl_canvas.c
@@ -198,12 +198,6 @@ static void set_clip(GLCanvas *canvas, SpiceRect *bbox, SpiceClip *clip)
}
break;
}
- case SPICE_CLIP_TYPE_PATH: {
- GLCPath path = get_path(canvas, SPICE_GET_ADDRESS(clip->data));
- glc_clip_path(canvas->glc, path, GLC_CLIP_OP_SET);
- glc_path_destroy(path);
- break;
- }
default:
CANVAS_ERROR("invalid clip type");
}