aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
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,
},
};