[Cogl] [PATCH] pipeline: Initialize unknown_color_alpha on copy

Robert Bragg robert at sixbynine.org
Fri Jul 19 05:52:06 PDT 2013


oops, I think I just said thanks f2f and then forgot to reply.

the patch looked good to me and I've just pushed it to master and the
cogl-1.16 branch

thanks,
- Robert

On Fri, Jul 19, 2013 at 1:11 PM, Damien Lespiau
<damien.lespiau at intel.com> wrote:
> ping on this one?
>
> --
> Damien
>
> On Fri, Jul 12, 2013 at 08:48:53AM +0100, Damien Lespiau wrote:
>> Just like:
>>
>> commit f3adec1faeb651dd97095a02256932cc82761f40
>> Author: Neil Roberts <neil at linux.intel.com>
>> Date:   Thu Jul 11 13:51:28 2013 +0100
>>
>>     Initialise dirty_real_blend_enable in _cogl_pipeline_copy
>>
>> But this time for unknown_color_alpha.
>> ---
>>  cogl/cogl-pipeline.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/cogl/cogl-pipeline.c b/cogl/cogl-pipeline.c
>> index 7fc41e4..d576e53 100644
>> --- a/cogl/cogl-pipeline.c
>> +++ b/cogl/cogl-pipeline.c
>> @@ -341,6 +341,7 @@ _cogl_pipeline_copy (CoglPipeline *src, CoglBool is_weak)
>>     * every pipeline node so we have fast access to it. */
>>    pipeline->real_blend_enable = src->real_blend_enable;
>>    pipeline->dirty_real_blend_enable = src->dirty_real_blend_enable;
>> +  pipeline->unknown_color_alpha = src->unknown_color_alpha;
>>
>>    /* XXX:
>>     * consider generalizing the idea of "cached" properties. These
>> --
>> 1.8.3.1
>>
>> _______________________________________________
>> Cogl mailing list
>> Cogl at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/cogl
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list