gltransformation: graphene multiplication order has changed
authorLubosz Sarnecki <lubosz@gmail.com>
Thu, 25 Sep 2014 15:01:31 +0000 (17:01 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:47 +0000 (19:31 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=733510

ext/gl/gstgltransformation.c

index 7025230..6a58f6e 100644 (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);
 }