diff options
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 3 | ||||
-rw-r--r-- | backend/drm/renderer.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 94bfbc96..187db368 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -579,8 +579,7 @@ static bool wlr_drm_connector_set_cursor(struct wlr_output *output, return false; } - enum wl_output_transform transform = - wlr_output_transform_invert(output->transform); + enum wl_output_transform transform = output->transform; wlr_matrix_projection(plane->matrix, plane->surf.width, plane->surf.height, transform); } diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index c1531ce3..f06de1ee 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -31,7 +31,7 @@ bool wlr_drm_renderer_init(struct wlr_drm_backend *drm, goto error_gbm; } - renderer->wlr_rend = wlr_gles2_renderer_create(&drm->backend); + renderer->wlr_rend = wlr_gles2_renderer_create(&renderer->egl); if (!renderer->wlr_rend) { wlr_log(L_ERROR, "Failed to create WLR renderer"); goto error_egl; |