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
This commit is contained in:
se.osadchy 2015-12-24 13:15:37 +09:00 committed by Hermet Park
parent a3db1dddd3
commit 861165c49d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}