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)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 9 Sep 2015 07:10:47 +0000 (10:10 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=754757

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

index 7adcf58908c6fb911f0fd606ed95766d0c3ce392..55a803ff7e1b6e6577005b0d38ed67af6069d78a 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;