summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-21 10:16:27 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-21 10:17:02 +0900
commite2ebd8e95aecf59588e49b3395e33c72a1dec8cd (patch)
tree829c08c6d31da0909bcdeeb653677deb14107ec6 /src/examples
parente68e8d008846a827a758483313e4ee205a1181a5 (diff)
examples: Fix misuse of evas image api on canvas 3d
image_size_set is for legacy images
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-3d-cube-rotate.c4
1 files changed, 1 insertions, 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)
255 255
256 /* Add an image object for 3D scene rendering. */ 256 /* Add an image object for 3D scene rendering. */
257 image = eo_add(EFL_CANVAS_SCENE3D_CLASS, evas); 257 image = eo_add(EFL_CANVAS_SCENE3D_CLASS, evas);
258 evas_object_image_size_set(image, WIDTH, HEIGHT); 258 efl_gfx_geometry_set(image, 0, 0, WIDTH, HEIGHT);
259 evas_object_move(image, 0, 0);
260 evas_object_resize(image, WIDTH, HEIGHT);
261 evas_object_show(image); 259 evas_object_show(image);
262 260
263 /* Set the image object as render target for 3D scene. */ 261 /* Set the image object as render target for 3D scene. */