interactive/canvas: Set the scaling filters

This commit is contained in:
Emmanuele Bassi 2012-03-08 17:19:58 +00:00
parent fb106ece05
commit 23fad8589c

View File

@ -104,6 +104,9 @@ test_canvas_main (int argc, char *argv[])
actor = clutter_actor_new (); actor = clutter_actor_new ();
clutter_actor_set_content (actor, canvas); 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); clutter_actor_add_child (stage, actor);
/* the actor now owns the canvas */ /* the actor now owns the canvas */