don't call cogl_set_default_context since it's been removed

cogl_set_default_context has been removed from Cogl so this updates
Clutter in-line with that change.
This commit is contained in:
Robert Bragg 2011-07-01 01:44:13 +01:00
parent 62ae252c59
commit 71d0872b76
2 changed files with 0 additions and 8 deletions

View File

@ -347,10 +347,6 @@ clutter_backend_cogl_create_context (ClutterBackend *backend,
if (!backend->cogl_context)
goto error;
/* XXX: eventually this should go away but a lot of Cogl code still
* depends on a global default context. */
cogl_set_default_context (backend->cogl_context);
return TRUE;
error:

View File

@ -252,10 +252,6 @@ clutter_backend_win32_create_context (ClutterBackend *backend,
if (!backend->cogl_context)
goto error;
/* XXX: eventually this should go away but a lot of Cogl code still
* depends on a global default context. */
cogl_set_default_context (backend->cogl_context);
return TRUE;
error: