gl/cocoa: Clear the current GL context when it should happen
This commit is contained in:
parent
07489f7b76
commit
6c8f7f9dd5
@ -328,11 +328,8 @@ gst_gl_context_cocoa_activate (GstGLContext * context, gboolean activate)
|
||||
|
||||
if (activate)
|
||||
[context_cocoa->priv->gl_context makeCurrentContext];
|
||||
#if 0
|
||||
else
|
||||
/* FIXME */
|
||||
[context_cocoa->priv->gl_context clearCurrentContext];
|
||||
#endif
|
||||
[NSOpenGLContext clearCurrentContext];
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user