gl/eagl: Also unbind renderbuffer after setting up framebuffer
authorSebastian Dröge <sebastian@centricular.com>
Wed, 9 Sep 2015 06:33:01 +0000 (09:33 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:08 +0000 (19:32 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=754757

gst-libs/gst/gl/eagl/gstglcontext_eagl.m

index 7adcf58..55a803f 100644 (file)
@@ -198,6 +198,7 @@ gst_gl_context_eagl_update_layer (GstGLContext * context)
     GST_ERROR ("Failed to make complete framebuffer object %x", status);
     goto out;
   }
+  glBindRenderbuffer (GL_RENDERBUFFER, 0);
   glBindFramebuffer (GL_FRAMEBUFFER, 0);
 
   priv->eagl_layer = eagl_layer;