clutter/cogl: Store empty clip regions for buffer age
As we do not prevent the SwapBuffers call from happening, those also do count. Results in clip area calculations to be right for monitors that previously did not get invalidated. https://gitlab.gnome.org/GNOME/mutter/merge_requests/888
This commit is contained in:
parent
3e5960b5a2
commit
4918893326
@ -786,7 +786,7 @@ clutter_stage_cogl_redraw_view (ClutterStageWindow *stage_window,
|
||||
swap_with_damage = FALSE;
|
||||
if (has_buffer_age)
|
||||
{
|
||||
if (use_clipped_redraw && !clip_region_empty)
|
||||
if (use_clipped_redraw)
|
||||
{
|
||||
int age;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user