summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-3d-obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/evas/evas-3d-obj.c')
-rw-r--r--src/examples/evas/evas-3d-obj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/evas/evas-3d-obj.c b/src/examples/evas/evas-3d-obj.c
index d19a36db91..ed6778afb9 100644
--- a/src/examples/evas/evas-3d-obj.c
+++ b/src/examples/evas/evas-3d-obj.c
@@ -7,7 +7,7 @@
* and geometry to "saved_man.obj".
*
* @verbatim
-* gcc -o evas-3d-obj evas-3d-obj.c `pkg-config --libs --cflags evas ecore ecore-evas`
+* gcc -o evas-3d-obj evas-3d-obj.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`
* @endverbatim
*/
@@ -134,7 +134,7 @@ main(void)
material = eo_add(EVAS_3D_MATERIAL_CLASS, evas);
eo_do(mesh,
- evas_3d_mesh_file_set("man_mesh.obj", NULL),
+ efl_file_set("man_mesh.obj", NULL),
evas_3d_mesh_frame_material_set(0, material),
evas_3d_mesh_shade_mode_set(EVAS_3D_SHADE_MODE_PHONG));
@@ -159,7 +159,7 @@ main(void)
1.0, 1.0, 1.0, 1.0),
evas_3d_material_shininess_set(50.0));
- eo_do(mesh, evas_3d_mesh_save("saved_man.obj", NULL));
+ eo_do(mesh, efl_file_save("saved_man.obj", NULL, NULL));
mesh_node = eo_add(EVAS_3D_NODE_CLASS, evas,
evas_3d_node_constructor(EVAS_3D_NODE_TYPE_MESH));