text: Use CoglFramebuffer API for the path-based clip

This commit is contained in:
Emmanuele Bassi 2012-03-08 14:07:15 +00:00
parent 4b0badba4a
commit 620e57ac13

View File

@ -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)