pipeline: fix for _init_multi_property_sparse_state
authorRobert Bragg <robert@linux.intel.com>
Mon, 24 Jan 2011 18:42:28 +0000 (18:42 +0000)
committerRobert Bragg <robert@linux.intel.com>
Mon, 24 Jan 2011 18:53:08 +0000 (18:53 +0000)
commit32486fe995911256a76673bf62609312893281be
treeac5e08fb1fc688e124b982b06f70892d937b00c2
parentbca39776d3080c180cdcf6698a54ee2c25bb5383
pipeline: fix for _init_multi_property_sparse_state

When copying COMBINE state in
_cogl_pipeline_layer_init_multi_property_sparse_state we would read some
state from the destination layer (invalid data potentially), then
redundantly set the value back on the destination. This was picked up by
valgrind, and the code is now more careful about how it references the
src layer vs the destination layer.
clutter/cogl/cogl/cogl-pipeline.c