aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-01 09:49:32 +0100
committeremersion <contact@emersion.fr>2017-12-01 09:49:32 +0100
commit4a56957a37669b38038910b41eb2b128f3a5042e (patch)
tree69446a6caef78b3812c2307e668d9651143c4872 /render
parent6a69b4419fa25f4bbcbe3253ed000276cb6ace42 (diff)
Fix inverted flipped-90 and flipped-270
Diffstat (limited to 'render')
-rw-r--r--render/matrix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/render/matrix.c b/render/matrix.c
index 6118e6a5..54dba4cc 100644
--- a/render/matrix.c
+++ b/render/matrix.c
@@ -105,16 +105,16 @@ static const float transforms[][4] = {
0.0f, 1.0f,
},
[WL_OUTPUT_TRANSFORM_FLIPPED_90] = {
- 0.0f, 1.0f,
- 1.0f, 0.0f,
+ 0.0f, -1.0f,
+ -1.0f, 0.0f,
},
[WL_OUTPUT_TRANSFORM_FLIPPED_180] = {
1.0f, 0.0f,
0.0f, -1.0f,
},
[WL_OUTPUT_TRANSFORM_FLIPPED_270] = {
- 0.0f, -1.0f,
- -1.0f, 0.0f,
+ 0.0f, 1.0f,
+ 1.0f, 0.0f,
},
};