Evas 3d: Initialized local variables
authorDeepjyoti Dutta <deepjyoti.d@samsung.com>
Tue, 24 Nov 2015 08:03:58 +0000 (17:03 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 24 Nov 2015 08:05:20 +0000 (17:05 +0900)
commit2a4877a5977b350628478c2c0f819aa39386ca2e
tree3ec2986fff31b94fa909c288d42aa0d8ccc19957
parent74f7d2044181abba0543dd02e6b83de7e8ff5c42
Evas 3d: Initialized local variables

Summary:
The OpenGL functions  assigns a value to the local variable. However,
in case of error it would take the uninitialized garbage value. So, the
correct solution would be to initialize it to 0.

Signed-off-by: Deepjyoti Dutta <deepjyoti.d@samsung.com>
Reviewers: Hermet, singh.amitesh, raster, jpeg

Reviewed By: jpeg

Subscribers: yashu21985, mvsovani, alok25, sachin.dev, cedric

Differential Revision: https://phab.enlightenment.org/D3375
src/modules/evas/engines/gl_common/evas_gl_3d_shader.c