hermet pushed a commit to branch master.

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

commit 861165c49d6160ca7ce63d130199dfa2ad8a62a5
Author: se.osadchy <se.osad...@samsung.com>
Date:   Thu Dec 24 13:15:37 2015 +0900

    evas: Fix wrong display texture on object.
    
    Summary:
    Fix siquence in multiply of matrices. Need multiply position on scale,
    otherwise we have wrong texture.
    
    Reviewers: cedric, Hermet, raster
    
    Subscribers: jpeg
    
    Differential Revision: https://phab.enlightenment.org/D3477
---
 src/modules/evas/engines/gl_common/evas_gl_3d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_3d.c 
b/src/modules/evas/engines/gl_common/evas_gl_3d.c
index 798a3b5..3bacf2c 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_3d.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_3d.c
@@ -117,7 +117,7 @@ e3d_texture_set(Evas_Engine_GL_Context *gc,
         /*Build adjusting matrix for texture unit coordinates*/
         eina_matrix3_position_transform_set(&pt, pt_x, pt_y);
         eina_matrix3_scale_transform_set(&st, st_x, st_y);
-        eina_matrix3_multiply(&texture->trans, &st, &pt);
+        eina_matrix3_multiply(&texture->trans, &pt, &st);
      }
 }
 

-- 


Reply via email to