interactive/canvas: Set the scaling filters
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 8 Mar 2012 17:19:58 +0000 (17:19 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 16 Mar 2012 12:33:38 +0000 (12:33 +0000)
tests/interactive/test-canvas.c

index 18d7f16..a452df6 100644 (file)
@@ -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 */