Initialise dirty_real_blend_enable in _cogl_pipeline_copy
When making a copy of a pipeline, the flag to mark whether the real blend enable is valid was not being initialised. Thanks to Damien Lespiau for pointing this out Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit f3adec1faeb651dd97095a02256932cc82761f40)
This commit is contained in:
parent
b3cc4d26d9
commit
2f9a0a2c97
@ -366,6 +366,7 @@ _cogl_pipeline_copy (CoglPipeline *src, CoglBool is_weak)
|
|||||||
/* NB: real_blend_enable isn't a sparse property, it's valid for
|
/* NB: real_blend_enable isn't a sparse property, it's valid for
|
||||||
* every pipeline node so we have fast access to it. */
|
* every pipeline node so we have fast access to it. */
|
||||||
pipeline->real_blend_enable = src->real_blend_enable;
|
pipeline->real_blend_enable = src->real_blend_enable;
|
||||||
|
pipeline->dirty_real_blend_enable = src->dirty_real_blend_enable;
|
||||||
|
|
||||||
/* XXX:
|
/* XXX:
|
||||||
* consider generalizing the idea of "cached" properties. These
|
* consider generalizing the idea of "cached" properties. These
|
||||||
|
Loading…
Reference in New Issue
Block a user