summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-3d-cube2.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-05-10 23:23:26 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-10 23:23:26 +0200
commit419e8f2ffe80209af33b7970562b1f4d76e846aa (patch)
tree8a0f1c57cb173deb2d1870b71f61bb251c2588d3 /src/examples/evas/evas-3d-cube2.c
parentf5e1151148e3214ed8c901ea41179da53368923f (diff)
evas: fixing examples after change on Evas_3D.
Diffstat (limited to 'src/examples/evas/evas-3d-cube2.c')
-rw-r--r--src/examples/evas/evas-3d-cube2.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/examples/evas/evas-3d-cube2.c b/src/examples/evas/evas-3d-cube2.c
index 2facb04..e438973 100644
--- a/src/examples/evas/evas-3d-cube2.c
+++ b/src/examples/evas/evas-3d-cube2.c
@@ -182,11 +182,9 @@ _mesh_setup(Scene_Data *data)
182 data->texture_normal = eo_add(EVAS_3D_TEXTURE_CLASS, evas); 182 data->texture_normal = eo_add(EVAS_3D_TEXTURE_CLASS, evas);
183 183
184 eo_do(data->texture0, 184 eo_do(data->texture0,
185 evas_3d_texture_data_set(EVAS_3D_COLOR_FORMAT_RGBA, 185 evas_3d_texture_data_set(EVAS_COLORSPACE_ARGB8888, 4, 4, &pixels0[0]));
186 EVAS_3D_PIXEL_FORMAT_8888, 4, 4, &pixels0[0]));
187 eo_do(data->texture1, 186 eo_do(data->texture1,
188 evas_3d_texture_data_set(EVAS_3D_COLOR_FORMAT_RGBA, 187 evas_3d_texture_data_set(EVAS_COLORSPACE_ARGB8888, 4, 4, &pixels1[0]));
189 EVAS_3D_PIXEL_FORMAT_8888, 4, 4, &pixels1[0]));
190 eo_do(data->texture_normal, 188 eo_do(data->texture_normal,
191 evas_3d_texture_file_set(normal_map_path, NULL)); 189 evas_3d_texture_file_set(normal_map_path, NULL));
192 190