diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-07-12 08:48:53 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2013-07-19 13:54:07 +0100 |
commit | eb002f20e824e2c58918eb5079bba9f48ba4747f (patch) | |
tree | d30a44d0970fe7e3b999edc205bec1c19d69ba81 | |
parent | 8de1f83b1cb631d81cc2629baa68c41705a8d348 (diff) | |
download | cogl-eb002f20e824e2c58918eb5079bba9f48ba4747f.tar.gz |
pipeline: Initialize unknown_color_alpha on copy
Just like:
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
But this time for unknown_color_alpha.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit e6a6a2752fb1cc14860cbc559f41f25f7e7f195e)
-rw-r--r-- | 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 07cb3d11..ff264b8e 100644 --- a/cogl/cogl-pipeline.c +++ b/cogl/cogl-pipeline.c @@ -367,6 +367,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 |