[Cogl] [PATCH] matrix-stack: init cache->flipped
Robert Bragg
robert at sixbynine.org
Mon Nov 19 08:35:38 PST 2012
From: Robert Bragg <robert at linux.intel.com>
This ensures we initialize the value of cache->flipped in
_cogl_matrix_entry_cache_init()
---
cogl/cogl-matrix-stack.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cogl/cogl-matrix-stack.c b/cogl/cogl-matrix-stack.c
index df1ec48..e5ad10d 100644
--- a/cogl/cogl-matrix-stack.c
+++ b/cogl/cogl-matrix-stack.c
@@ -1133,6 +1133,7 @@ _cogl_matrix_entry_cache_init (CoglMatrixEntryCache *cache)
{
cache->entry = NULL;
cache->flushed_identity = FALSE;
+ cache->flipped = FALSE;
}
/* NB: This function can report false negatives since it never does a
--
1.7.7.6
More information about the Cogl
mailing list