summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-04-23 20:47:26 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2015-04-23 20:47:26 +0100
commit89364e18425e892707381d90caecc7c3cd4ec7cb (patch)
tree00189fd7a115164c8df0f16d06f79d4ea171eb3b
parent5b4c03e56c3382df47b7dbee4064edfb844d2585 (diff)
downloadclutter-89364e18425e892707381d90caecc7c3cd4ec7cb.tar.gz
cogl/stage: Fix a compiler warning
-rw-r--r--clutter/cogl/clutter-stage-cogl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clutter/cogl/clutter-stage-cogl.c b/clutter/cogl/clutter-stage-cogl.c
index 25e95f0ee..7f418a989 100644
--- a/clutter/cogl/clutter-stage-cogl.c
+++ b/clutter/cogl/clutter-stage-cogl.c
@@ -467,6 +467,8 @@ clutter_stage_cogl_redraw (ClutterStageWindow *stage_window)
may_use_clipped_redraw = TRUE;
clip_region = &stage_cogl->bounding_redraw_clip;
}
+ else
+ clip_region = NULL;
if (may_use_clipped_redraw &&
G_LIKELY (!(clutter_paint_debug_flags & CLUTTER_DEBUG_DISABLE_CLIPPED_REDRAWS)))