From 3517c11c9bfc248eb589a6c8c43bfdc6b8656029 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Thu, 10 Apr 2014 21:06:47 +0200 Subject: [PATCH] stage-cogl: Don't mess with the damage_history list when buffer_age is not available --- clutter/cogl/clutter-stage-cogl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/cogl/clutter-stage-cogl.c b/clutter/cogl/clutter-stage-cogl.c index 85d047c72..8fb9e6341 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);