[clutter/wip/apocalypses/apocalypse-3: 23/35] interactive/canvas: Set the scaling filters
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/apocalypses/apocalypse-3: 23/35] interactive/canvas: Set the scaling filters
- Date: Thu, 15 Mar 2012 18:06:36 +0000 (UTC)
commit 753eab865ca6ae86e3fe9c7e1f024a786a632975
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Mar 8 17:19:58 2012 +0000
interactive/canvas: Set the scaling filters
tests/interactive/test-canvas.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/interactive/test-canvas.c b/tests/interactive/test-canvas.c
index 18d7f16..a452df6 100644
--- a/tests/interactive/test-canvas.c
+++ b/tests/interactive/test-canvas.c
@@ -104,6 +104,9 @@ test_canvas_main (int argc, char *argv[])
actor = clutter_actor_new ();
clutter_actor_set_content (actor, canvas);
+ clutter_actor_set_content_scaling_filters (actor,
+ CLUTTER_SCALING_FILTER_BILINEAR,
+ CLUTTER_SCALING_FILTER_LINEAR);
clutter_actor_add_child (stage, actor);
/* the actor now owns the canvas */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]