gltransformation: graphene multiplication order has changed

https://bugzilla.gnome.org/show_bug.cgi?id=733510
This commit is contained in:
Lubosz Sarnecki 2014-09-25 17:01:31 +02:00 committed by Tim-Philipp Müller
parent d30a476c1c
commit 28d4d57180

View file

@ -264,8 +264,8 @@ gst_gl_transformation_build_mvp (GstGLTransformation * transformation)
graphene_matrix_init_look_at (&view_matrix, &eye, &center, &up);
graphene_matrix_multiply (&projection_matrix, &view_matrix, &vp_matrix);
graphene_matrix_multiply (&vp_matrix, &model_matrix,
graphene_matrix_multiply (&view_matrix, &projection_matrix, &vp_matrix);
graphene_matrix_multiply (&model_matrix, &vp_matrix,
&transformation->mvp_matrix);
}