aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-08-11 09:29:28 +1200
committerScott Anderson <ascent12@hotmail.com>2017-08-11 09:29:28 +1200
commit5465621d0a1892275ae05a69481eda1140c4461f (patch)
tree788346af32d1c61a8e22a7cb9972df767325f35e
parentea63f9e53f9672e72d73856de26d7354ab93bb45 (diff)
Update rotation matrix correctly. Fixes #60.
-rw-r--r--types/wlr_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_output.c b/types/wlr_output.c
index 63727394..eff4d0ef 100644
--- a/types/wlr_output.c
+++ b/types/wlr_output.c
@@ -121,8 +121,8 @@ bool wlr_output_set_mode(struct wlr_output *output, struct wlr_output_mode *mode
void wlr_output_transform(struct wlr_output *output,
enum wl_output_transform transform) {
- wlr_output_update_matrix(output);
output->impl->transform(output->state, transform);
+ wlr_output_update_matrix(output);
}
bool wlr_output_set_cursor(struct wlr_output *output,