From 6941ff2c7196f44b1773a236c5a6ed632ceb8e0a Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Thu, 8 Nov 2012 22:18:34 +0000 Subject: [PATCH] matrix-stack: init cache->flipped This ensures we initialize the value of cache->flipped in _cogl_matrix_entry_cache_init() Reviewed-by: Neil Roberts (cherry picked from commit 507814d27298231c9ae50d74b386fb00f0909922) --- cogl/cogl-matrix-stack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cogl/cogl-matrix-stack.c b/cogl/cogl-matrix-stack.c index de3143d8e..907bd6644 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