osx/backend: Chain up in create_context()

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>
This commit is contained in:
Emmanuele Bassi 2012-05-31 10:06:05 +01:00
parent 7f9c3976a1
commit b1fcc828be

View File

@ -138,6 +138,9 @@ clutter_backend_osx_create_context (ClutterBackend *backend,
[backend_osx->context makeCurrentContext]; [backend_osx->context makeCurrentContext];
CLUTTER_BACKEND_CLASS (clutter_backend_osx_parent_class)->create_context (backend,
error);
CLUTTER_OSX_POOL_RELEASE(); CLUTTER_OSX_POOL_RELEASE();
return TRUE; return TRUE;