glframebuffer: don't clear the framebuffer

Breaks attempting to blend with the destination buffer and should be done
explicitly by the callback anyway.
This commit is contained in:
Matthew Waters 2015-05-19 11:11:02 +10:00
parent ddc4f1ffbd
commit 2352545bee

View file

@ -201,9 +201,6 @@ gst_gl_framebuffer_use_v2 (GstGLFramebuffer * frame, gint texture_fbo_width,
GST_GL_API_OPENGL3)) GST_GL_API_OPENGL3))
gl->DrawBuffer (GL_COLOR_ATTACHMENT0); gl->DrawBuffer (GL_COLOR_ATTACHMENT0);
gl->ClearColor (0.0, 0.0, 0.0, 0.0);
gl->Clear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
/* the opengl scene */ /* the opengl scene */
cb (stuff); cb (stuff);