mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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:
parent
62ae252c59
commit
71d0872b76
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user