summaryrefslogtreecommitdiff
path: root/clutter/cogl/clutter-stage-cogl.c
diff options
context:
space:
mode:
Diffstat (limited to 'clutter/cogl/clutter-stage-cogl.c')
-rw-r--r--clutter/cogl/clutter-stage-cogl.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/clutter/cogl/clutter-stage-cogl.c b/clutter/cogl/clutter-stage-cogl.c
index cab4474f3..abcc91f4a 100644
--- a/clutter/cogl/clutter-stage-cogl.c
+++ b/clutter/cogl/clutter-stage-cogl.c
@@ -378,10 +378,12 @@ clutter_stage_cogl_redraw (ClutterStageWindow *stage_window)
stage_cogl->using_clipped_redraw = TRUE;
- cogl_clip_push_window_rectangle (stage_cogl->bounding_redraw_clip.x,
- stage_cogl->bounding_redraw_clip.y,
- stage_cogl->bounding_redraw_clip.width,
- stage_cogl->bounding_redraw_clip.height);
+ cogl_framebuffer_push_scissor_clip (cogl_get_draw_framebuffer (),
+ stage_cogl->bounding_redraw_clip.x,
+ stage_cogl->bounding_redraw_clip.y,
+ stage_cogl->bounding_redraw_clip.width,
+ stage_cogl->bounding_redraw_clip.height);
+
_clutter_stage_do_paint (CLUTTER_STAGE (wrapper),
&stage_cogl->bounding_redraw_clip);
cogl_clip_pop ();