mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
interactive/canvas: Set the scaling filters
This commit is contained in:
parent
fb106ece05
commit
23fad8589c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user