[836/906] cocoa: only use GSRegisterCurrentThread with GNUStep environment
This commit is contained in:
parent
6a5bd364a4
commit
cc0b1f3e05
@ -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];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user