mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +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
|
else
|
||||||
priv->external_gl_context = NULL;
|
priv->external_gl_context = NULL;
|
||||||
|
|
||||||
|
#ifdef GNUSTEP
|
||||||
GSRegisterCurrentThread();
|
GSRegisterCurrentThread();
|
||||||
|
#endif
|
||||||
|
|
||||||
pool = [[NSAutoreleasePool alloc] init];
|
pool = [[NSAutoreleasePool alloc] init];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue