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)
|
if (!backend->cogl_context)
|
||||||
goto error;
|
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;
|
return TRUE;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
@ -252,10 +252,6 @@ clutter_backend_win32_create_context (ClutterBackend *backend,
|
|||||||
if (!backend->cogl_context)
|
if (!backend->cogl_context)
|
||||||
goto error;
|
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;
|
return TRUE;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user