cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=dad7df18b8e7c3cc2413e4fceec2f61d99ed012e

commit dad7df18b8e7c3cc2413e4fceec2f61d99ed012e
Author: Dmytro Dadyka <d.dad...@samsung.com>
Date:   Thu Feb 5 11:16:57 2015 +0100

    evas: Evas_3D - fix bug with uninit Evas_Mat4 flag.
    
    Reviewers: Hermet, raster, cedric
    
    @fix
    
    Reviewed By: cedric
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D1930
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/evas/include/evas_3d_utils.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/evas/include/evas_3d_utils.h 
b/src/lib/evas/include/evas_3d_utils.h
index 139351d..b6d52e9 100644
--- a/src/lib/evas/include/evas_3d_utils.h
+++ b/src/lib/evas/include/evas_3d_utils.h
@@ -1443,6 +1443,8 @@ evas_mat4_build(Evas_Mat4 *out,
    out->m[13] = position->y;
    out->m[14] = position->z;
    out->m[15] = 1.0;
+
+   out->flags = 0;
 }
 
 static inline void
@@ -1488,6 +1490,8 @@ evas_mat4_inverse_build(Evas_Mat4 *out, const Evas_Vec3 
*position,
    out->m[13] = inv_translate.y;
    out->m[14] = inv_translate.z;
    out->m[15] = 1.0;
+
+   out->flags = 0;
 }
 
 static inline void

-- 


Reply via email to