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)
This commit is contained in:
Robert Bragg 2012-11-08 22:18:34 +00:00
parent da9f5e6179
commit 6941ff2c71

View File

@ -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