[836/906] cocoa: only use GSRegisterCurrentThread with GNUStep environment

This commit is contained in:
Matthieu Bouron 2013-11-01 16:35:46 +00:00 committed by Matthew Waters
parent 6fcd8b7206
commit fb9684e0f1

View file

@ -135,7 +135,9 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,
else
priv->external_gl_context = NULL;
#ifdef GNUSTEP
GSRegisterCurrentThread();
#endif
pool = [[NSAutoreleasePool alloc] init];