mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
[836/906] cocoa: only use GSRegisterCurrentThread with GNUStep environment
This commit is contained in:
parent
6a5bd364a4
commit
cc0b1f3e05
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