mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
[836/906] cocoa: only use GSRegisterCurrentThread with GNUStep environment
This commit is contained in:
parent
6fcd8b7206
commit
fb9684e0f1
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue