summaryrefslogtreecommitdiff
path: root/src/examples/evas/shooter/evas-3d-shooter.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-11 12:24:06 +0000
committerTom Hacohen <tom@stosb.com>2016-03-11 12:29:03 +0000
commit9fdac37187e35f45570c3808011d0283c658652d (patch)
tree632258982611b30be2f540731239fda57e338dab /src/examples/evas/shooter/evas-3d-shooter.c
parent15646cf5e639bdd4309a2b215f394436f652d2d1 (diff)
Revert "Examples: Update according to recent eo_add changes."
This reverts commit 6594ba0b6df9ba72f031a00d0e8ba3b23cf2c0b2.
Diffstat (limited to '')
-rw-r--r--src/examples/evas/shooter/evas-3d-shooter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/evas/shooter/evas-3d-shooter.c b/src/examples/evas/shooter/evas-3d-shooter.c
index a306f41055..4acf990f25 100644
--- a/src/examples/evas/shooter/evas-3d-shooter.c
+++ b/src/examples/evas/shooter/evas-3d-shooter.c
@@ -876,7 +876,7 @@ _mesh_setup_column(Scene_Data *data, int index)
876 evas_canvas3d_material_color_set(data->material_column, EVAS_CANVAS3D_MATERIAL_ATTRIB_SPECULAR, 1.0, 1.0, 1.0, 1.0); 876 evas_canvas3d_material_color_set(data->material_column, EVAS_CANVAS3D_MATERIAL_ATTRIB_SPECULAR, 1.0, 1.0, 1.0, 1.0);
877 evas_canvas3d_material_shininess_set(data->material_column, 50.0); 877 evas_canvas3d_material_shininess_set(data->material_column, 50.0);
878 878
879 eo_add(&data->mesh_column[index], EVAS_CANVAS3D_MESH_CLASS, evas); 879 data->mesh_column[index] = eo_add(EVAS_CANVAS3D_MESH_CLASS, evas);
880 880
881 SETUP_MESH_NODE(column[index]) 881 SETUP_MESH_NODE(column[index])
882 882