Revert "framebuffer: Fix clip tracking in the unclipped case"

This broke gnome-shell's StScrollViewFade.

This reverts commit 5c5715f4da.
This commit is contained in:
Jasper St. Pierre 2013-11-19 18:09:38 -05:00
parent af480a2b8b
commit 08ee344fa5

View File

@ -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