From e3295050f59bcc026b8f0648e2ad2935d9911aed Mon Sep 17 00:00:00 2001 From: Roman Kudiyarov Date: Thu, 15 Jul 2010 15:46:04 +0700 Subject: [PATCH] osx: Fixed crash while features initialization Clearing current context couses incorrect work of glGetString function and all next GL functions that use it work incorrectly. --- clutter/osx/clutter-backend-osx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/clutter/osx/clutter-backend-osx.c b/clutter/osx/clutter-backend-osx.c index e78025305..8c48f20e6 100644 --- a/clutter/osx/clutter-backend-osx.c +++ b/clutter/osx/clutter-backend-osx.c @@ -89,7 +89,6 @@ clutter_backend_osx_post_parse (ClutterBackend *backend, glGetString (GL_RENDERER), glGetString (GL_VERSION), glGetString (GL_EXTENSIONS)); - [NSOpenGLContext clearCurrentContext]; CLUTTER_OSX_POOL_RELEASE();