mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gl/cocoa: Clear the current GL context when it should happen
This commit is contained in:
parent
22e09f19ed
commit
bc52e41641
1 changed files with 1 additions and 4 deletions
|
@ -328,11 +328,8 @@ gst_gl_context_cocoa_activate (GstGLContext * context, gboolean activate)
|
||||||
|
|
||||||
if (activate)
|
if (activate)
|
||||||
[context_cocoa->priv->gl_context makeCurrentContext];
|
[context_cocoa->priv->gl_context makeCurrentContext];
|
||||||
#if 0
|
|
||||||
else
|
else
|
||||||
/* FIXME */
|
[NSOpenGLContext clearCurrentContext];
|
||||||
[context_cocoa->priv->gl_context clearCurrentContext];
|
|
||||||
#endif
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue