From: Sebastian Dröge Date: Wed, 9 Sep 2015 06:33:01 +0000 (+0300) Subject: gl/eagl: Also unbind renderbuffer after setting up framebuffer X-Git-Tag: 1.16.2~955^2~672 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd326adacc1a08feba9d90c6957d96b72c8b5127;p=platform%2Fupstream%2Fgst-plugins-base.git gl/eagl: Also unbind renderbuffer after setting up framebuffer https://bugzilla.gnome.org/show_bug.cgi?id=754757 --- diff --git a/gst-libs/gst/gl/eagl/gstglcontext_eagl.m b/gst-libs/gst/gl/eagl/gstglcontext_eagl.m index 7adcf58..55a803f 100644 --- a/gst-libs/gst/gl/eagl/gstglcontext_eagl.m +++ b/gst-libs/gst/gl/eagl/gstglcontext_eagl.m @@ -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;