Update rotation matrix correctly. Fixes #60.

master
Scott Anderson 7 years ago
parent ea63f9e53f
commit 5465621d0a

@ -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, void wlr_output_transform(struct wlr_output *output,
enum wl_output_transform transform) { enum wl_output_transform transform) {
wlr_output_update_matrix(output);
output->impl->transform(output->state, transform); output->impl->transform(output->state, transform);
wlr_output_update_matrix(output);
} }
bool wlr_output_set_cursor(struct wlr_output *output, bool wlr_output_set_cursor(struct wlr_output *output,

Loading…
Cancel
Save