mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-31 13:19:51 +00:00
glimagesink: fix upper-left and upper-right rotate matrices
This commit is contained in:
parent
8b92d144a1
commit
4ed345b7eb
1 changed files with 4 additions and 4 deletions
|
@ -486,16 +486,16 @@ static const gfloat vertical_flip_matrix[] = {
|
||||||
|
|
||||||
/* upper-left-diagonal */
|
/* upper-left-diagonal */
|
||||||
static const gfloat upper_left_matrix[] = {
|
static const gfloat upper_left_matrix[] = {
|
||||||
0.0f, 1.0f, 0.0f, 0.0f,
|
0.0f, -1.0f, 0.0f, 0.0f,
|
||||||
1.0f, 0.0f, 0.0f, 0.0f,
|
-1.0f, 0.0f, 0.0f, 0.0f,
|
||||||
0.0f, 0.0f, 1.0f, 0.0f,
|
0.0f, 0.0f, 1.0f, 0.0f,
|
||||||
0.0f, 0.0f, 0.0f, 1.0f,
|
0.0f, 0.0f, 0.0f, 1.0f,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* upper-right-diagonal */
|
/* upper-right-diagonal */
|
||||||
static const gfloat upper_right_matrix[] = {
|
static const gfloat upper_right_matrix[] = {
|
||||||
0.0f, -1.0f, 0.0f, 0.0f,
|
0.0f, 1.0f, 0.0f, 0.0f,
|
||||||
-1.0f, 0.0f, 0.0f, 0.0f,
|
1.0f, 0.0f, 0.0f, 0.0f,
|
||||||
0.0f, 0.0f, 1.0f, 0.0f,
|
0.0f, 0.0f, 1.0f, 0.0f,
|
||||||
0.0f, 0.0f, 0.0f, 1.0f,
|
0.0f, 0.0f, 0.0f, 1.0f,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue