[cogl] Initialise dirty_real_blend_enable in _cogl_pipeline_copy



commit f3adec1faeb651dd97095a02256932cc82761f40
Author: Neil Roberts <neil linux intel com>
Date:   Thu Jul 11 13:51:28 2013 +0100

    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>

 cogl/cogl-pipeline.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-pipeline.c b/cogl/cogl-pipeline.c
index 58eaacf..7fc41e4 100644
--- a/cogl/cogl-pipeline.c
+++ b/cogl/cogl-pipeline.c
@@ -340,6 +340,7 @@ _cogl_pipeline_copy (CoglPipeline *src, CoglBool is_weak)
   /* NB: real_blend_enable isn't a sparse property, it's valid for
    * 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;
 
   /* XXX:
    * consider generalizing the idea of "cached" properties. These


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]