projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d30a476
)
gltransformation: graphene multiplication order has changed
author
Lubosz Sarnecki
<lubosz@gmail.com>
Thu, 25 Sep 2014 15:01:31 +0000
(17:01 +0200)
committer
Tim-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
patch
|
blob
|
history
diff --git
a/ext/gl/gstgltransformation.c
b/ext/gl/gstgltransformation.c
index
7025230
..
6a58f6e
100644
(file)
--- a/
ext/gl/gstgltransformation.c
+++ b/
ext/gl/gstgltransformation.c
@@
-264,8
+264,8
@@
gst_gl_transformation_build_mvp (GstGLTransformation * transformation)
graphene_matrix_init_look_at (&view_matrix, &eye, ¢er, &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);
}