[clutter/clutter-1.20] cogl/stage: Fix a compiler warning



commit 89364e18425e892707381d90caecc7c3cd4ec7cb
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Apr 23 20:47:26 2015 +0100

    cogl/stage: Fix a compiler warning

 clutter/cogl/clutter-stage-cogl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/clutter/cogl/clutter-stage-cogl.c b/clutter/cogl/clutter-stage-cogl.c
index 25e95f0..7f418a9 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)))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]