forked from enlightenment/efl
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:
parent
a3db1dddd3
commit
861165c49d
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue