From 5fd8e9c6083ff17202ceb2cfd2d1c56df0d1da14 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Wed, 8 Dec 2010 11:35:16 +0000 Subject: [PATCH] pipeline: initialize HashState flags member There are a set of "EvalFlags" that get passed to _cogl_pipeline_hash that can tweak the semantics of what state is evaluated for hashing but these flags weren't getting passed via the HashState state structure so it would be undefined if you would get the correct semantics. --- clutter/cogl/cogl/cogl-pipeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clutter/cogl/cogl/cogl-pipeline.c b/clutter/cogl/cogl/cogl-pipeline.c index 970ded0..80d0897 100644 --- a/clutter/cogl/cogl/cogl-pipeline.c +++ b/clutter/cogl/cogl/cogl-pipeline.c @@ -5990,6 +5990,7 @@ _cogl_pipeline_hash (CoglPipeline *pipeline, state.hash = 0; state.layer_differences = layer_differences; + state.flags = flags; /* hash non-sparse state */ -- 2.7.4