mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:16:13 +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
|
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