From 02812fb9887f8dadfb5e6c7d05b525ea1309f4e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 5 Mar 2019 20:05:42 +0100 Subject: [PATCH] clutter/stage-cogl: Damage fb using ceiled scaled sizes https://gitlab.gnome.org/GNOME/mutter/merge_requests/469 --- clutter/clutter/cogl/clutter-stage-cogl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/clutter/cogl/clutter-stage-cogl.c b/clutter/clutter/cogl/clutter-stage-cogl.c index 1ed7e01c4..80ed474a9 100644 --- a/clutter/clutter/cogl/clutter-stage-cogl.c +++ b/clutter/clutter/cogl/clutter-stage-cogl.c @@ -513,8 +513,8 @@ fill_current_damage_history_and_step (ClutterStageView *view) *current_fb_damage = (cairo_rectangle_int_t) { .x = 0, .y = 0, - .width = view_rect.width * fb_scale, - .height = view_rect.height * fb_scale + .width = ceilf (view_rect.width * fb_scale), + .height = ceilf (view_rect.height * fb_scale) }; view_priv->damage_index++; }