osx/backend: Chain up in create_context()
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 31 May 2012 09:06:05 +0000 (10:06 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 31 May 2012 09:06:05 +0000 (10:06 +0100)
This will ensure that we have a CoglContext, albeit the stub winsys one,
on Mac.

Tested-by: Roland Peffer <gdevel@clixxun.com>
Tested-by: Laszlo Pandy <laszlok2@gmail.com>
clutter/osx/clutter-backend-osx.c

index 6dd1efa..4fe2988 100644 (file)
@@ -138,6 +138,9 @@ clutter_backend_osx_create_context (ClutterBackend  *backend,
 
   [backend_osx->context makeCurrentContext];
 
+  CLUTTER_BACKEND_CLASS (clutter_backend_osx_parent_class)->create_context (backend,
+                                                                            error);
+
   CLUTTER_OSX_POOL_RELEASE();
 
   return TRUE;