[Cogl] [PATCH] Initialise dirty_real_blend_enable in _cogl_pipeline_copy
Damien Lespiau
damien.lespiau at intel.com
Fri Jul 12 00:45:22 PDT 2013
On Thu, Jul 11, 2013 at 01:55:59PM +0100, Neil Roberts wrote:
> Damien writes:
>
> > From what I can see, pipeline->dirty_real_blend_enable is being used
> > without being initialized by cogl_pipeline_copy().
>
> Nice catch! I think the best course of action is to initialise it with
> the copied value from the source pipeline, as in the following patch.
Thanks for that Neil, but still quite enough :). There is another use of
unitialied data in the same expression that was being hidden by this
first one.
This time it's pipeline->unknown_color_alpha (still line 1425) being
used without being initialized.
Tentative patch follows...
--
Damien
More information about the Cogl
mailing list