[clutter] text: Use CoglFramebuffer API for the path-based clip
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] text: Use CoglFramebuffer API for the path-based clip
- Date: Fri, 9 Mar 2012 16:33:13 +0000 (UTC)
commit 620e57ac1334424bd47579417815e67080d802c2
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Mar 8 14:07:15 2012 +0000
text: Use CoglFramebuffer API for the path-based clip
clutter/clutter-text.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c
index 57e5234..6e279b6 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]