From cd326adacc1a08feba9d90c6957d96b72c8b5127 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 9 Sep 2015 09:33:01 +0300 Subject: [PATCH] gl/eagl: Also unbind renderbuffer after setting up framebuffer https://bugzilla.gnome.org/show_bug.cgi?id=754757 --- gst-libs/gst/gl/eagl/gstglcontext_eagl.m | 1 + 1 file changed, 1 insertion(+) 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; -- 2.7.4