gl/eagl: Also unbind renderbuffer after setting up framebuffer

https://bugzilla.gnome.org/show_bug.cgi?id=754757
This commit is contained in:
Sebastian Dröge 2015-09-09 09:33:01 +03:00 committed by Tim-Philipp Müller
parent ae721c54c2
commit cd326adacc

View 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;