evas-3d: Fix missing field initializers
Clang spits warnings here about missing field initializers for Evas_Vec3 (missing y and z fields), so we will explicitly initialize them to 0 (matching the x field). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
0a44c3f78b
commit
886c20a43b
|
@ -1578,7 +1578,7 @@ convex_hull_vertex_set(Evas_Triangle3 *el, unsigned short int *vertex_count, flo
|
|||
unsigned short int **index, unsigned int k, int *leader, int coord)
|
||||
{
|
||||
int color_coords, normal_coords;
|
||||
Evas_Vec3 vect = {0};
|
||||
Evas_Vec3 vect = {0, 0, 0};
|
||||
switch (coord)
|
||||
{
|
||||
case 0:
|
||||
|
|
Loading…
Reference in New Issue