[cogl] Initialize all members of CoglContext

Some members of CoglContext still escape initialization.
This commit is contained in:
Emmanuele Bassi 2009-03-10 18:05:08 +00:00
parent 949e37d332
commit a06dd94eb8
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ cogl_create_context ()
_context->features_cached = FALSE; _context->features_cached = FALSE;
_context->enable_flags = 0; _context->enable_flags = 0;
_context->color_alpha = 0;
_context->enable_backface_culling = FALSE; _context->enable_backface_culling = FALSE;

View File

@ -57,6 +57,7 @@ cogl_create_context ()
_context->features_cached = FALSE; _context->features_cached = FALSE;
_context->enable_flags = 0; _context->enable_flags = 0;
_context->color_alpha = 0;
_context->enable_backface_culling = FALSE; _context->enable_backface_culling = FALSE;