mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
clutter/cogl: Ensure to paint full view if there's no buffer age support
This was falling back to painting an empty area, which is not what we want. https://gitlab.gnome.org/GNOME/mutter/merge_requests/888
This commit is contained in:
parent
4918893326
commit
2e9faaf67a
@ -771,8 +771,9 @@ clutter_stage_cogl_redraw_view (ClutterStageWindow *stage_window,
|
||||
}
|
||||
else
|
||||
{
|
||||
fb_clip_region = cairo_region_create ();
|
||||
redraw_clip = cairo_region_reference (fb_clip_region);
|
||||
cairo_rectangle_int_t rect = { 0, 0, view_rect.width, view_rect.height };
|
||||
fb_clip_region = cairo_region_create_rectangle (&rect);
|
||||
redraw_clip = cairo_region_copy (fb_clip_region);
|
||||
}
|
||||
|
||||
if (may_use_clipped_redraw &&
|
||||
|
Loading…
Reference in New Issue
Block a user