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

This commit is contained in:
Adel Gadllah 2014-04-10 21:06:47 +02:00
parent 79297d5c1c
commit 3517c11c9b

View File

@ -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"); CLUTTER_NOTE (CLIPPING, "Unclipped redraw: Resetting damage history list.\n");
g_slist_free_full (stage_cogl->damage_history, g_free); g_slist_free_full (stage_cogl->damage_history, g_free);