[cogl] Initialize all members of CoglContext
authorEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 10 Mar 2009 18:05:08 +0000 (18:05 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 10 Mar 2009 18:05:08 +0000 (18:05 +0000)
Some members of CoglContext still escape initialization.

clutter/cogl/gl/cogl-context.c
clutter/cogl/gles/cogl-context.c

index bf24225..2ff8aa8 100644 (file)
@@ -55,6 +55,7 @@ cogl_create_context ()
   _context->features_cached = FALSE;
 
   _context->enable_flags = 0;
+  _context->color_alpha = 0;
 
   _context->enable_backface_culling = FALSE;
 
index 498896e..0f85924 100644 (file)
@@ -57,6 +57,7 @@ cogl_create_context ()
   _context->features_cached = FALSE;
 
   _context->enable_flags = 0;
+  _context->color_alpha = 0;
 
   _context->enable_backface_culling = FALSE;