diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/drm/renderer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index 260d041f..2793c00b 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -157,6 +157,7 @@ static struct wlr_buffer *drm_surface_blit(struct wlr_drm_surface *surf, float mat[9]; wlr_matrix_identity(mat); + wlr_matrix_scale(mat, surf->width, surf->height); wlr_renderer_begin(renderer, surf->width, surf->height); wlr_renderer_clear(renderer, (float[]){ 0.0, 0.0, 0.0, 0.0 }); |