[cogl] Initialize boolean flag in CoglContext
authorEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 10 Mar 2009 17:53:51 +0000 (17:53 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 10 Mar 2009 17:53:51 +0000 (17:53 +0000)
commitd3245c66244970d04922572c47d68efc9ad19122
treeb1125b4c789466ed1ddff1ce53a7b9e0aaf8c320
parent57c3e84289fd3a705a01c74c6924ed0b100da4de
[cogl] Initialize boolean flag in CoglContext

The private CoglContext is created using g_malloc() and not
zeroed; this means we have to initialize the values we are
going to check, to avoid hitting garbage.

Thanks to Tommi Komulainen.
clutter/cogl/gl/cogl-context.c
clutter/cogl/gles/cogl-context.c