From 02ef39f48aa9e261c8fd9a4986f986d2ec047cf7 Mon Sep 17 00:00:00 2001 From: Hyunjun Ko Date: Wed, 28 Jun 2017 12:17:37 +0900 Subject: [PATCH] glmemory: reset the draw buffer to GL_BACK The draw buffer should be reset to GL_BACK since the framebuffer is already unbound. https://bugzilla.gnome.org/show_bug.cgi?id=784210 --- gst-libs/gst/gl/gstglmemory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index 02848f0b72..5b4c91f40d 100644 --- a/gst-libs/gst/gl/gstglmemory.c +++ b/gst-libs/gst/gl/gstglmemory.c @@ -746,7 +746,7 @@ gst_gl_memory_copy_teximage (GstGLMemory * src, guint tex_id, gl->DeleteFramebuffers (n_fbos, &fbo[0]); if (gl->DrawBuffer) - gl->DrawBuffer (GL_NONE); + gl->DrawBuffer (GL_BACK); } gst_memory_unmap (GST_MEMORY_CAST (src), &sinfo);