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,11 +414,18 @@ cleared:
|
||||
|
||||
/* NB: A clear may be scissored so we need to track the extents
|
||||
* that the clear is applicable too... */
|
||||
_cogl_clip_stack_get_bounds (clip_stack,
|
||||
&framebuffer->clear_clip_x0,
|
||||
&framebuffer->clear_clip_y0,
|
||||
&framebuffer->clear_clip_x1,
|
||||
&framebuffer->clear_clip_y1);
|
||||
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 */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user