From 620e57ac1334424bd47579417815e67080d802c2 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 8 Mar 2012 14:07:15 +0000 Subject: [PATCH] text: Use CoglFramebuffer API for the path-based clip --- clutter/clutter-text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 57e523409..6e279b6a1 100644 --- a/clutter/clutter-text.c +++ b/clutter/clutter-text.c @@ -1611,7 +1611,8 @@ selection_paint (ClutterText *self) cogl_path_fill (selection_path); /* Paint selected text */ - cogl_clip_push_from_path (selection_path); + cogl_framebuffer_push_path_clip (cogl_get_draw_framebuffer (), + selection_path); cogl_object_unref (selection_path); if (priv->selected_text_color_set)