From 778700288e3c0a89cfe1c284af7557698717b750 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. --- cogl/cogl-pipeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cogl/cogl-pipeline.c b/cogl/cogl-pipeline.c index 970ded0f9..80d089770 100644 --- a/cogl/cogl-pipeline.c +++ b/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 */