[clutter/clutter-1.18] stage-cogl: Don't mess with the damage_history list when buffer_age is not available



commit 3517c11c9bfc248eb589a6c8c43bfdc6b8656029
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Thu Apr 10 21:06:47 2014 +0200

    stage-cogl: Don't mess with the damage_history list when buffer_age is not available

 clutter/cogl/clutter-stage-cogl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/cogl/clutter-stage-cogl.c b/clutter/cogl/clutter-stage-cogl.c
index 85d047c..8fb9e63 100644
--- a/clutter/cogl/clutter-stage-cogl.c
+++ b/clutter/cogl/clutter-stage-cogl.c
@@ -517,7 +517,7 @@ clutter_stage_cogl_redraw (ClutterStageWindow *stage_window)
 
       }
     }
-  else
+  else if (has_buffer_age)
     {
       CLUTTER_NOTE (CLIPPING, "Unclipped redraw: Resetting damage history list.\n");
       g_slist_free_full (stage_cogl->damage_history, g_free);


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