mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
Revert "framebuffer: Fix clip tracking in the unclipped case"
This broke gnome-shell's StScrollViewFade.
This reverts commit 5c5715f4da
.
This commit is contained in:
parent
af480a2b8b
commit
08ee344fa5
@ -414,12 +414,19 @@ cleared:
|
||||
|
||||
/* NB: A clear may be scissored so we need to track the extents
|
||||
* that the clear is applicable too... */
|
||||
if (clip_stack)
|
||||
{
|
||||
_cogl_clip_stack_get_bounds (clip_stack,
|
||||
&framebuffer->clear_clip_x0,
|
||||
&framebuffer->clear_clip_y0,
|
||||
&framebuffer->clear_clip_x1,
|
||||
&framebuffer->clear_clip_y1);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* FIXME: set degenerate clip */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Note: the 'buffers' and 'color' arguments were switched around on
|
||||
|
Loading…
Reference in New Issue
Block a user