From 71d0872b76ec6678f03fddf4731f394eaa06ba9f Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Fri, 1 Jul 2011 01:44:13 +0100 Subject: [PATCH] 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. --- clutter/cogl/clutter-backend-cogl.c | 4 ---- clutter/win32/clutter-backend-win32.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/clutter/cogl/clutter-backend-cogl.c b/clutter/cogl/clutter-backend-cogl.c index a712a4e3d..c97448cec 100644 --- a/clutter/cogl/clutter-backend-cogl.c +++ b/clutter/cogl/clutter-backend-cogl.c @@ -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: diff --git a/clutter/win32/clutter-backend-win32.c b/clutter/win32/clutter-backend-win32.c index 220d517c6..b16e10e13 100644 --- a/clutter/win32/clutter-backend-win32.c +++ b/clutter/win32/clutter-backend-win32.c @@ -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: