summaryrefslogtreecommitdiff
path: root/unsorted/evas/evas-3d-ply.c
diff options
context:
space:
mode:
Diffstat (limited to 'unsorted/evas/evas-3d-ply.c')
-rw-r--r--unsorted/evas/evas-3d-ply.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unsorted/evas/evas-3d-ply.c b/unsorted/evas/evas-3d-ply.c
index d42e370..00d05f9 100644
--- a/unsorted/evas/evas-3d-ply.c
+++ b/unsorted/evas/evas-3d-ply.c
@@ -98,8 +98,8 @@ _on_canvas_resize(Ecore_Evas *ee)
98 int w, h; 98 int w, h;
99 99
100 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 100 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
101 efl_gfx_size_set(background, w, h); 101 efl_gfx_size_set(background, EINA_SIZE2D(w, h));
102 efl_gfx_size_set(image, w, h); 102 efl_gfx_size_set(image, EINA_SIZE2D(w, h));
103} 103}
104 104
105int 105int
@@ -210,12 +210,12 @@ main(void)
210 /* Add a background rectangle object. */ 210 /* Add a background rectangle object. */
211 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 211 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
212 efl_gfx_color_set(background, 100, 100, 100, 255); 212 efl_gfx_color_set(background, 100, 100, 100, 255);
213 efl_gfx_size_set(background, WIDTH, HEIGHT); 213 efl_gfx_size_set(background, EINA_SIZE2D(WIDTH, HEIGHT));
214 efl_gfx_visible_set(background, EINA_TRUE); 214 efl_gfx_visible_set(background, EINA_TRUE);
215 215
216 /* Add an image object for 3D scene rendering. */ 216 /* Add an image object for 3D scene rendering. */
217 image = efl_add(EFL_CANVAS_SCENE3D_CLASS, evas); 217 image = efl_add(EFL_CANVAS_SCENE3D_CLASS, evas);
218 efl_gfx_size_set(image, WIDTH, HEIGHT); 218 efl_gfx_size_set(image, EINA_SIZE2D(WIDTH, HEIGHT));
219 efl_gfx_visible_set(image, EINA_TRUE); 219 efl_gfx_visible_set(image, EINA_TRUE);
220 220
221 /* Set the image object as render target for 3D scene. */ 221 /* Set the image object as render target for 3D scene. */