[cogl/cogl-1.16] pipeline: Initialize unknown_color_alpha on copy
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.16] pipeline: Initialize unknown_color_alpha on copy
- Date: Fri, 19 Jul 2013 12:51:33 +0000 (UTC)
commit eb002f20e824e2c58918eb5079bba9f48ba4747f
Author: Damien Lespiau <damien lespiau intel com>
Date: Fri Jul 12 08:48:53 2013 +0100
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)
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 07cb3d1..ff264b8 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]