From e2ebd8e95aecf59588e49b3395e33c72a1dec8cd Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 21 Jun 2016 10:16:27 +0900 Subject: [PATCH] examples: Fix misuse of evas image api on canvas 3d image_size_set is for legacy images --- src/examples/evas/evas-3d-cube-rotate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/examples/evas/evas-3d-cube-rotate.c b/src/examples/evas/evas-3d-cube-rotate.c index 100910b..bbd64e6 100644 --- a/src/examples/evas/evas-3d-cube-rotate.c +++ b/src/examples/evas/evas-3d-cube-rotate.c @@ -255,9 +255,7 @@ main(void) /* Add an image object for 3D scene rendering. */ image = eo_add(EFL_CANVAS_SCENE3D_CLASS, evas); - evas_object_image_size_set(image, WIDTH, HEIGHT); - evas_object_move(image, 0, 0); - evas_object_resize(image, WIDTH, HEIGHT); + efl_gfx_geometry_set(image, 0, 0, WIDTH, HEIGHT); evas_object_show(image); /* Set the image object as render target for 3D scene. */ -- 2.7.4