diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-11-08 22:18:34 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2013-01-21 14:20:32 +0000 |
commit | 2ac912b0e92d271e8cfde123bae93ae495ea03e3 (patch) | |
tree | 01783fdbbbc100df2a46b2d722fdf64f55cf883a /cogl/cogl-matrix-stack.c | |
parent | a03a59b188eacc9da2cf31b8645d8c181567cdb5 (diff) | |
download | cogl-2ac912b0e92d271e8cfde123bae93ae495ea03e3.tar.gz |
matrix-stack: init cache->flipped
This ensures we initialize the value of cache->flipped in
_cogl_matrix_entry_cache_init()
Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 507814d27298231c9ae50d74b386fb00f0909922)
Diffstat (limited to 'cogl/cogl-matrix-stack.c')
-rw-r--r-- | 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 de3143d8..907bd664 100644 --- a/cogl/cogl-matrix-stack.c +++ b/cogl/cogl-matrix-stack.c @@ -1134,6 +1134,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 |